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; return;
} catch (IOException e) { } catch (IOException e) {
++errorCount; ++errorCount;
InterDatanodeProtocol.LOG.warn( InterDatanodeProtocol.LOG.warn("Failed to recover block (block="
"Failed to obtain replica info for block (=" + block + block + ", datanode=" + id + ")", e);
+ ") from datanode (=" + id + ")", e);
} }
} }