HDFS-15514. Remove useless dfs.webhdfs.enabled. Contributed by Fei Hui.

This commit is contained in:
Ayush Saxena 2020-08-07 22:19:17 +05:30
parent ea7e41e29e
commit d6a9ed8140
2 changed files with 0 additions and 4 deletions

View File

@ -120,9 +120,6 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase {
// Used oddly by DataNode to create new config String // Used oddly by DataNode to create new config String
xmlPropsToSkipCompare.add("hadoop.hdfs.configuration.version"); xmlPropsToSkipCompare.add("hadoop.hdfs.configuration.version");
// Skip comparing in branch-2. Removed in trunk with HDFS-7985.
xmlPropsToSkipCompare.add("dfs.webhdfs.enabled");
// Some properties have moved to HdfsClientConfigKeys // Some properties have moved to HdfsClientConfigKeys
xmlPropsToSkipCompare.add("dfs.client.short.circuit.replica.stale.threshold.ms"); xmlPropsToSkipCompare.add("dfs.client.short.circuit.replica.stale.threshold.ms");

View File

@ -39,7 +39,6 @@ public class MiniDFSClusterService extends AbstractService {
@Override @Override
protected void serviceInit(Configuration conf) throws Exception { protected void serviceInit(Configuration conf) throws Exception {
conf.setBoolean("dfs.webhdfs.enabled", false);
super.serviceInit(conf); super.serviceInit(conf);
} }