HDFS-4658. Standby NN will log that it has received a block report "after becoming active". Contributed by Aaron T. Myers.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1463643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2013-04-02 17:49:58 +00:00
parent bcce9354bc
commit 9c26c28c87
2 changed files with 5 additions and 2 deletions

View File

@ -465,6 +465,9 @@ Release 2.0.5-beta - UNRELEASED
HDFS-4656. DN heartbeat loop can be briefly tight. (atm) HDFS-4656. DN heartbeat loop can be briefly tight. (atm)
HDFS-4658. Standby NN will log that it has received a block report "after
becoming active" (atm)
Release 2.0.4-alpha - UNRELEASED Release 2.0.4-alpha - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -1569,8 +1569,8 @@ public class BlockManager {
node.receivedBlockReport(); node.receivedBlockReport();
if (staleBefore && !node.areBlockContentsStale()) { if (staleBefore && !node.areBlockContentsStale()) {
LOG.info("BLOCK* processReport: Received first block report from " LOG.info("BLOCK* processReport: Received first block report from "
+ node + " after becoming active. Its block contents are no longer" + node + " after starting up or becoming active. Its block "
+ " considered stale"); + "contents are no longer considered stale");
rescanPostponedMisreplicatedBlocks(); rescanPostponedMisreplicatedBlocks();
} }