hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [45/50] [abbrv] hadoop git commit: HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30 seconds for printing info log messags.
Date Sat, 21 Nov 2015 07:56:49 GMT
HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30 seconds for printing
info log messags.


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

Branch: refs/heads/HDFS-7240
Commit: 8e03e855b6a0cf650f43aac47b1ec642caf493f5
Parents: 31dc5c6
Author: Tsz-Wo Nicholas Sze <szetszwo@hortonworks.com>
Authored: Thu Nov 19 14:54:01 2015 -0800
Committer: Tsz-Wo Nicholas Sze <szetszwo@hortonworks.com>
Committed: Thu Nov 19 14:54:01 2015 -0800

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                  | 3 +++
 .../hadoop/hdfs/server/blockmanagement/BlockManager.java     | 8 +++-----
 2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8e03e855/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 22da5be..c7a18d5 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -2326,6 +2326,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9400. TestRollingUpgradeRollback fails on branch-2.
     (Brahma Reddy Battula via cnauroth)
 
+    HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30
+    seconds for printing info log messags.  (szetszwo)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/8e03e855/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
index 3c6c4d3..ef3a8cc 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
@@ -3128,11 +3128,9 @@ public class BlockManager implements BlockStatsMXBean {
     for(DatanodeStorageInfo storage : blocksMap.getStorages(block, State.NORMAL)) {
       final DatanodeDescriptor cur = storage.getDatanodeDescriptor();
       if (storage.areBlockContentsStale()) {
-        LOG.info("BLOCK* processOverReplicatedBlock: " +
-            "Postponing processing of over-replicated " +
-            block + " since storage + " + storage
-            + "datanode " + cur + " does not yet have up-to-date " +
-            "block information.");
+        LOG.trace("BLOCK* processOverReplicatedBlock: Postponing {}"
+            + " since storage {} does not yet have up-to-date information.",
+            block, storage);
         postponeBlock(block);
         return;
       }


Mime
View raw message