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

This commit is contained in:
Yiqun Lin 2017-03-14 17:52:31 +08:00
parent e03d8ff488
commit f731013c88
1 changed files with 2 additions and 3 deletions

View File

@ -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);
}
}