You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2019/08/08 20:48:57 UTC

[hadoop] branch trunk updated: HDFS-14705. Remove unused configuration dfs.min.replication. Contributed by CR Hota.

This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2265872  HDFS-14705. Remove unused configuration dfs.min.replication. Contributed by CR Hota.
2265872 is described below

commit 2265872c2db98fbaf0cd847af6d12cd4bc76e9b2
Author: Wei-Chiu Chuang <we...@apache.org>
AuthorDate: Thu Aug 8 13:48:29 2019 -0700

    HDFS-14705. Remove unused configuration dfs.min.replication. Contributed by CR Hota.
---
 .../src/test/java/org/apache/hadoop/hdfs/TestFileAppend.java            | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileAppend.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileAppend.java
index aa8afb0..b65301f8 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileAppend.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileAppend.java
@@ -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)


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org