HDDS-1077. TestSecureOzoneCluster does not config OM HTTP keytab. Contributed by Xiaoyu Yao.
This commit is contained in:
parent
ed99da850e
commit
a1414582a8
@ -217,6 +217,8 @@ private void setSecureConfig(Configuration conf) throws IOException {
|
|||||||
spnegoKeytab.getAbsolutePath());
|
spnegoKeytab.getAbsolutePath());
|
||||||
conf.set(OMConfigKeys.OZONE_OM_KERBEROS_KEYTAB_FILE_KEY,
|
conf.set(OMConfigKeys.OZONE_OM_KERBEROS_KEYTAB_FILE_KEY,
|
||||||
omKeyTab.getAbsolutePath());
|
omKeyTab.getAbsolutePath());
|
||||||
|
conf.set(OMConfigKeys.OZONE_OM_HTTP_KERBEROS_KEYTAB_FILE,
|
||||||
|
spnegoKeytab.getAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user