You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2007/04/04 20:30:32 UTC

[jira] Updated: (HADOOP-1155) Additional performance improvement to chooseTarget

     [ https://issues.apache.org/jira/browse/HADOOP-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HADOOP-1155:
----------------------------------

    Attachment: rackMap.patch

This patch is intended for review. It depends on HADOOP-1073 and collides with HADOOP-988. I will resubmit one after both are resolved. 

Besides the changes I suggested in the jira description, I modified the  method in ReplicationTargetChooser "private DatanodeDescriptor[] chooseRandom(int numOfReplicas, String nodes,  List<DatanodeDescriptor> excludedNodes)"  to return a list.


> 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
>
>         Attachments: rackMap.patch
>
>
> 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.