Misleading log message in computeReplicationWork()
--------------------------------------------------
Key: HADOOP-3662
URL: https://issues.apache.org/jira/browse/HADOOP-3662
Project: Hadoop Core
Issue Type: Bug
Affects Versions: 0.17.0
Reporter: Konstantin Shvachko
Fix For: 0.19.0
FSNamesystem.computeReplicationWork() removes a block from neededReplications
when the block has reached required replication, and prints the following
message:
{code}
NameNode.stateChangeLog.info("BLOCK* "
+ "Removing block " + block
+ " from neededReplications as it does not belong to any file.");
{code}
The message should rather say
{code}
"as it reached replication " + numEffectiveReplicas + "; required " +
requiredReplication
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.