소스 검색

HDFS-11344. The default value of the setting dfs.disk.balancer.block.tolerance.percent is different. Contributed by Yiqun Lin.

Anu Engineer 8 년 전
부모
커밋
2604e82eba
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java

@@ -1034,7 +1034,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
 
   public static final String DFS_DISK_BALANCER_BLOCK_TOLERANCE =
       "dfs.disk.balancer.block.tolerance.percent";
-  public static final int DFS_DISK_BALANCER_BLOCK_TOLERANCE_DEFAULT = 5;
+  public static final int DFS_DISK_BALANCER_BLOCK_TOLERANCE_DEFAULT = 10;
 
   public static final String DFS_DISK_BALANCER_PLAN_THRESHOLD =
       "dfs.disk.balancer.plan.threshold.percent";