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:
parent
bcce9354bc
commit
9c26c28c87
|
@ -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
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue