Additional performance improvement to chooseTarget
--------------------------------------------------

                 Key: HADOOP-1155
                 URL: https://issues.apache.org/jira/browse/HADOOP-1155
             Project: Hadoop
          Issue Type: Improvement
          Components: dfs
    Affects Versions: 0.12.2
            Reporter: Hairong Kuang
         Assigned To: Hairong Kuang
             Fix For: 0.13.0


A few additional thoughts to improve the performance of chooseTarget:
1. Reduce the # of calls to getDistance in sortedByDistance
2. Improve the performance of getNode by adding a rack name to rack node map

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