hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yq...@apache.org
Subject hadoop git commit: HDFS-11526. Fix confusing block recovery message. Contributed by Yiqun Lin.
Date Tue, 14 Mar 2017 09:52:58 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 e03d8ff48 -> f731013c8


HDFS-11526. Fix confusing block recovery message. Contributed by Yiqun Lin.


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

Branch: refs/heads/branch-2
Commit: f731013c8836c81198d72dd11ed5a100301f6019
Parents: e03d8ff
Author: Yiqun Lin <yqlin@apache.org>
Authored: Tue Mar 14 17:52:31 2017 +0800
Committer: Yiqun Lin <yqlin@apache.org>
Committed: Tue Mar 14 17:52:31 2017 +0800

----------------------------------------------------------------------
 .../apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f731013c/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java
index e91d8b1..d04aff6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java
@@ -152,9 +152,8 @@ public class BlockRecoveryWorker {
           return;
         } catch (IOException e) {
           ++errorCount;
-          InterDatanodeProtocol.LOG.warn(
-              "Failed to obtain replica info for block (=" + block
-                  + ") from datanode (=" + id + ")", e);
+          InterDatanodeProtocol.LOG.warn("Failed to recover block (block="
+              + block + ", datanode=" + id + ")", e);
         }
       }
 


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


Mime
View raw message