You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2013/09/06 17:24:52 UTC

[jira] [Created] (YARN-1163) Cleanup code for AssignMapsWithLocality() in RMContainerAllocator

Junping Du created YARN-1163:
--------------------------------

             Summary: Cleanup code for AssignMapsWithLocality() in RMContainerAllocator
                 Key: YARN-1163
                 URL: https://issues.apache.org/jira/browse/YARN-1163
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: applications
            Reporter: Junping Du
            Assignee: Junping Du
            Priority: Minor


In RMContainerAllocator, AssignMapsWithLocality() is a very important method to assign map tasks on allocated containers with conforming different level of locality (dataLocal, rackLocal, etc.). However, this method messed with different code logic to handle different type of locality but have lots of similar behaviours. This is hard to maintain as well as do extension with other locality type, so we need some more clear code here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira