HDFS-15514. Remove useless dfs.webhdfs.enabled. Contributed by Fei Hui.
This commit is contained in:
parent
0c0ea4979e
commit
2943e6650f
|
@ -121,9 +121,6 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase {
|
|||
// Used oddly by DataNode to create new config String
|
||||
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
|
||||
xmlPropsToSkipCompare.add("dfs.client.short.circuit.replica.stale.threshold.ms");
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ public class MiniDFSClusterService extends AbstractService {
|
|||
|
||||
@Override
|
||||
protected void serviceInit(Configuration conf) throws Exception {
|
||||
conf.setBoolean("dfs.webhdfs.enabled", false);
|
||||
super.serviceInit(conf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue