Improve block placement performance
-----------------------------------

                 Key: HADOOP-5603
                 URL: https://issues.apache.org/jira/browse/HADOOP-5603
             Project: Hadoop Core
          Issue Type: Improvement
          Components: dfs
            Reporter: Hairong Kuang
            Assignee: Hairong Kuang
             Fix For: 0.21.0


ReplicationTargetChooser chooses targets by iteratively selecting random nodes 
first and then filtering good targets until the required number of targets are 
chosen. This code may require selecting random nodes multiple times, thus 
introducing multiple traversals of the given portion of the cluster map.  This 
code can be improved by traversing the portion of the cluster map only once.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to