[
https://issues.apache.org/jira/browse/YARN-7774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331494#comment-16331494
]
Arun Suresh commented on YARN-7774:
-----------------------------------
Thanks [~kkaranasos]. Updated the patch based on your suggestion. Also instead
of shuffling nodes before iteration, am now using a circular iterator - which
should improve performance as well allow the algorithm to cover more nodes.
> Miscellaneous minor fixes to the PlacementProcessor
> ---------------------------------------------------
>
> Key: YARN-7774
> URL: https://issues.apache.org/jira/browse/YARN-7774
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Arun Suresh
> Assignee: Arun Suresh
> Priority: Major
> Attachments: YARN-7774-YARN-6592.001.patch,
> YARN-7774-YARN-6592.002.patch
>
>
> JIRA to track the following minor changes:
> * Scheduler must normalize requests that are made using the
> {{attemptAllocationOnNode}} method.
> * The Placement Algorithm should shuffle the order it looks at nodes between
> two requests - to ensure a) more nodes are looked at and b) bias against
> placing too many containers on the same node
> * Add a placement retry loop for rejected requests - since there are cases
> especially, when Constraints will be satisfied after a subsequent request has
> been placed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]