Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43C43199D9 for ; Tue, 26 Apr 2016 20:07:00 +0000 (UTC) Received: (qmail 97208 invoked by uid 500); 26 Apr 2016 20:07:00 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 97148 invoked by uid 500); 26 Apr 2016 20:07:00 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 97139 invoked by uid 99); 26 Apr 2016 20:06:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2016 20:06:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BCAEADFD7B; Tue, 26 Apr 2016 20:06:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wang@apache.org To: common-commits@hadoop.apache.org Message-Id: <56601b32ee8c4aabb7b49fb1bfd101ad@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hadoop git commit: HDFS-10297. Increase default balance bandwidth and concurrent moves. Contributed by John Zhuge. Date: Tue, 26 Apr 2016 20:06:59 +0000 (UTC) Repository: hadoop Updated Branches: refs/heads/trunk c6a2430b4 -> 6be22ddbf HDFS-10297. Increase default balance bandwidth and concurrent moves. Contributed by John Zhuge. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6be22ddb Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6be22ddb Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6be22ddb Branch: refs/heads/trunk Commit: 6be22ddbf1b6f3c19ec70c63ddb8f5519d18dd72 Parents: c6a2430 Author: Andrew Wang Authored: Tue Apr 26 13:04:18 2016 -0700 Committer: Andrew Wang Committed: Tue Apr 26 13:04:18 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java | 9 ++++++--- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/6be22ddb/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java index 6303fb3..93e3191 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java @@ -87,9 +87,12 @@ public class DFSConfigKeys extends CommonConfigurationKeys { public static final String DFS_NAMENODE_BACKUP_SERVICE_RPC_ADDRESS_KEY = "dfs.namenode.backup.dnrpc-address"; public static final String DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_KEY = HdfsClientConfigKeys.DeprecatedKeys.DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_KEY; - public static final long DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_DEFAULT = 1024*1024; - public static final String DFS_DATANODE_BALANCE_MAX_NUM_CONCURRENT_MOVES_KEY = "dfs.datanode.balance.max.concurrent.moves"; - public static final int DFS_DATANODE_BALANCE_MAX_NUM_CONCURRENT_MOVES_DEFAULT = 5; + public static final long DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_DEFAULT = + 10 * 1024*1024; + public static final String DFS_DATANODE_BALANCE_MAX_NUM_CONCURRENT_MOVES_KEY + = "dfs.datanode.balance.max.concurrent.moves"; + public static final int + DFS_DATANODE_BALANCE_MAX_NUM_CONCURRENT_MOVES_DEFAULT = 50; @Deprecated public static final String DFS_DATANODE_READAHEAD_BYTES_KEY = HdfsClientConfigKeys.DFS_DATANODE_READAHEAD_BYTES_KEY; http://git-wip-us.apache.org/repos/asf/hadoop/blob/6be22ddb/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml index a6ed12e..842ccbf 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml @@ -856,7 +856,7 @@ dfs.datanode.balance.bandwidthPerSec - 1048576 + 10m Specifies the maximum amount of bandwidth that each datanode can utilize for the balancing purpose in term of @@ -3409,7 +3409,7 @@ dfs.datanode.balance.max.concurrent.moves - 5 + 50 Maximum number of threads for Datanode balancer pending moves. This value is reconfigurable via the "dfsadmin -reconfig" command.