HDDS-1077. TestSecureOzoneCluster does not config OM HTTP keytab. Contributed by Xiaoyu Yao.

This commit is contained in:
Bharat Viswanadham 2019-02-10 19:34:53 -08:00
parent ed99da850e
commit a1414582a8

View File

@ -217,6 +217,8 @@ private void setSecureConfig(Configuration conf) throws IOException {
spnegoKeytab.getAbsolutePath());
conf.set(OMConfigKeys.OZONE_OM_KERBEROS_KEYTAB_FILE_KEY,
omKeyTab.getAbsolutePath());
conf.set(OMConfigKeys.OZONE_OM_HTTP_KERBEROS_KEYTAB_FILE,
spnegoKeytab.getAbsolutePath());
}
@Test