HDFS-2349. Corruption detected during block transfers should log WARNs.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1182205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eba49b8b11
commit
532872bf74
@ -113,6 +113,9 @@ Trunk (unreleased changes)
|
||||
HDFS-2422. The NN should tolerate the same number of low-resource volumes
|
||||
as failed volumes (atm)
|
||||
|
||||
HDFS-2349. Corruption detected during block transfers between DNs
|
||||
should log a WARN instead of INFO. (harsh)
|
||||
|
||||
Release 0.23.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -1884,7 +1884,7 @@ private void transferBlock( ExtendedBlock block,
|
||||
nn.reportBadBlocks(new LocatedBlock[]{
|
||||
new LocatedBlock(block, new DatanodeInfo[] {
|
||||
new DatanodeInfo(bpReg)})});
|
||||
LOG.info("Can't replicate block " + block
|
||||
LOG.warn("Can't replicate block " + block
|
||||
+ " because on-disk length " + onDiskLength
|
||||
+ " is shorter than NameNode recorded length " + block.getNumBytes());
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user