processMisReplicatedBlock incorrectly identifies under-construction blocks as 
under-replicated
----------------------------------------------------------------------------------------------

                 Key: HDFS-2822
                 URL: https://issues.apache.org/jira/browse/HDFS-2822
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: ha, name-node
    Affects Versions: 0.23.0, 0.24.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


When the NN processes mis-replicated blocks while exiting safemode, it 
considers under-construction blocks as under-replicated, inserting them into 
the neededReplicationsQueue. This makes them show up as corrupt in the metrics 
and UI momentarily, until they're pulled off the queue. At that point, it 
realizes that they aren't in fact under-replicated, correctly. This affects 
both the HA branch and trunk/23, best I can tell.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to