Browse Source

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

Ayush Saxena 4 years ago
parent
commit
4af5fc86b2

+ 0 - 3
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java

@@ -122,9 +122,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");
 
 

+ 0 - 1
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/commit/MiniDFSClusterService.java

@@ -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);
   }
   }