HDFS-14705. Remove unused configuration dfs.min.replication. Contributed by CR Hota.

This commit is contained in:
Wei-Chiu Chuang 2019-08-08 13:48:29 -07:00
parent 28a848412c
commit 2265872c2d
1 changed files with 0 additions and 2 deletions

View File

@ -667,7 +667,6 @@ public class TestFileAppend{
Configuration conf = new HdfsConfiguration();
conf.setInt(DFSConfigKeys.DFS_BLOCK_SIZE_KEY, 1024);
conf.setInt(DFSConfigKeys.DFS_REPLICATION_KEY, 1);
conf.setInt("dfs.min.replication", 1);
File builderBaseDir = new File(GenericTestUtils.getRandomizedTempPath());
MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf, builderBaseDir)
.numDataNodes(1).build();
@ -693,7 +692,6 @@ public class TestFileAppend{
Configuration conf = new HdfsConfiguration();
conf.setInt(DFSConfigKeys.DFS_BLOCK_SIZE_KEY, 1024);
conf.setInt(DFSConfigKeys.DFS_REPLICATION_KEY, 1);
conf.setInt("dfs.min.replication", 1);
File builderBaseDir = new File(GenericTestUtils.getRandomizedTempPath());
MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf, builderBaseDir)