Harsh J created HDFS-3645:
-----------------------------

             Summary: Improve the way we do detection of a busy DN in the 
cluster, when choosing it for a block write
                 Key: HDFS-3645
                 URL: https://issues.apache.org/jira/browse/HDFS-3645
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: name-node
    Affects Versions: 2.0.0-alpha
            Reporter: Harsh J
            Priority: Minor


Right now, I think we do too naive a computation for detecting if a chosen DN 
target is busy by itself. We currently do {{node.getXceiverCount() > (2.0 * 
avgLoad)}}.

We should improve on this computation with a more realistic measure of if a DN 
is really busy by itself or not (rather than checking against cluster average, 
where there's a good chance the value can be wrong to compare with, for some 
cases)

--
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