[
https://issues.apache.org/jira/browse/YARN-5035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301525#comment-15301525
]
Arun Suresh commented on YARN-5035:
-----------------------------------
[~kasha], the patch looks pretty straightforward. Minor comments:
# In {{shouldContinueAssignment()}} :
{noformat}
if (maxAssignDynamic) {
return Resources.lessThan(DOMINANT_RESOURCE_CALCULATOR,
getClusterResource(), assignedResource, maxResourcesToAssign);
....
{noformat}
Don't you feel, dont you think you should use a {{Resources.fitsIn()}} check
rather than the DRF less than ?
# I think we should make the *0.5f* configurable ?
> FairScheduler: Adjust maxAssign dynamically when assignMultiple is turned on
> ----------------------------------------------------------------------------
>
> Key: YARN-5035
> URL: https://issues.apache.org/jira/browse/YARN-5035
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: fairscheduler
> Affects Versions: 2.8.0
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: yarn-5035-1.patch, yarn-5035-2.patch
>
>
> When assignMultiple is turned on, today the number of containers allocated to
> node within a single heartbeat is determined by maxAssign. Picking a higher
> value for this prevents the spreading of the workload, and a smaller number
> leads to slow ramp up.
> The proposal is to make it dynamic - half of the unallocated resources on the
> node.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]