[ 
https://issues.apache.org/jira/browse/YARN-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633807#comment-13633807
 ] 

Devaraj K commented on YARN-580:
--------------------------------

As per my observation for this issue, when we configure delay as more than no 
of cluster nodes for capacity scheduler it should check each node one time for 
NODE_LOCAL free resources for assigning. But here it is missing to check the 
last node for NODE_LOCAL and assgning to last but one node as RACK_LOCAL or 
OFF_SWITCH. 

We need to to correct it  for this issue.
                
> Delay scheduling in capacity scheduler is not ensuring 100% locality
> --------------------------------------------------------------------
>
>                 Key: YARN-580
>                 URL: https://issues.apache.org/jira/browse/YARN-580
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.0.2-alpha, 2.0.1-alpha
>            Reporter: Nishan Shetty
>            Assignee: Devaraj K
>
> Example
> --------
> Machine1: 3 blocks
> Machine2: 2 blocks
> Machine3: 1 blocks
> When we run job on this data, node locality is not ensured 100%
> Tasks run like below even if slots are available in all nodes:
> --------------
> Machine1: 4Task
> Machine2: 2Task
> Machine3: No task 

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

Reply via email to