hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5035) FairScheduler: Adjust maxAssign dynamically when assignMultiple is turned on
Date Thu, 26 May 2016 04:50:13 GMT

    [ 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()}} :
if (maxAssignDynamic) {
      return Resources.lessThan(DOMINANT_RESOURCE_CALCULATOR,
	          getClusterResource(), assignedResource, maxResourcesToAssign);
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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message