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 bh...@apache.org on 2018/04/23 23:09:24 UTC

hadoop git commit: HDFS-13356. Balancer:Set default value of minBlockSize to 10mb. Contributed by Bharat Viswanadham

Repository: hadoop
Updated Branches:
  refs/heads/trunk 7ab08a9c3 -> 9b5375e0c


HDFS-13356. Balancer:Set default value of minBlockSize to 10mb. Contributed by Bharat Viswanadham


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/9b5375e0
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9b5375e0
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9b5375e0

Branch: refs/heads/trunk
Commit: 9b5375e0c1ee8c634a5accb7415ec27440543a60
Parents: 7ab08a9
Author: Bharat Viswanadham <bh...@apache.org>
Authored: Mon Apr 23 16:09:01 2018 -0700
Committer: Bharat Viswanadham <bh...@apache.org>
Committed: Mon Apr 23 16:09:01 2018 -0700

----------------------------------------------------------------------
 .../hadoop-hdfs/src/main/proto/NamenodeProtocol.proto           | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/9b5375e0/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/NamenodeProtocol.proto
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/NamenodeProtocol.proto b/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/NamenodeProtocol.proto
index 29ae9d6..683dc80 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/NamenodeProtocol.proto
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/NamenodeProtocol.proto
@@ -43,7 +43,10 @@ import "HdfsServer.proto";
 message GetBlocksRequestProto {
   required DatanodeIDProto datanode = 1; // Datanode ID
   required uint64 size = 2;              // Size in bytes
-  optional uint64 minBlockSize = 3 [default = 0]; // Minimum Block Size in bytes
+  // Minimum Block Size in bytes, adding default value to 10MB, as this might
+  // cause problem during rolling upgrade, when balancers are upgraded later.
+  // For more info refer HDFS-13356
+  optional uint64 minBlockSize = 3 [default = 10485760];
 }
 
  


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