You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jonathan Hung (JIRA)" <ji...@apache.org> on 2019/03/21 21:10:00 UTC

[jira] [Comment Edited] (YARN-9272) Backport YARN-7738 for refreshing max allocation for multiple resource types

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

Jonathan Hung edited comment on YARN-9272 at 3/21/19 9:09 PM:
--------------------------------------------------------------

Attached branch-3.0 version. A few diffs from YARN-7738:
 * Omit the vcores > Integer.MAX_VALUE check in Resource class (this is already handled by castToIntSafely in branch-3.0)
 * Add an extra constructor in ResourceInformation class (this was added as part of YARN-7254)
 * Add the {{loadNewConfiguration}} method in AdminService where resource-types.xml file is added to the conf which is called when refreshing scheduler. (This method was added as part of YARN-6124)
 * Add TestCapacitySchedulerWithMultiResourceTypes test class (this was added as part of YARN-7237). 

The branch-3.0 patch also applies cleanly on YARN-8200.


was (Author: jhung):
Attached branch-3.0 version. A few diffs from YARN-7738:
 * Omit the vcores > Integer.MAX_VALUE check in Resource class (this is already handled by castToIntSafely in branch-3.0)
 * Add an extra constructor in ResourceInformation class (this was added as part of YARN-7254)
 * Add the {{loadNewConfiguration}} method in AdminService where resource-types.xml file is added to the conf which is called when refreshing scheduler. (This method was added as part of YARN-6124)
 * Add TestCapacitySchedulerWithMultiResourceTypes test class (this was added as part of YARN-7237). 

> Backport YARN-7738 for refreshing max allocation for multiple resource types
> ----------------------------------------------------------------------------
>
>                 Key: YARN-9272
>                 URL: https://issues.apache.org/jira/browse/YARN-9272
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Hung
>            Assignee: Jonathan Hung
>            Priority: Major
>         Attachments: YARN-9272-YARN-8200.branch3.001.patch
>
>
> Need to port to YARN-8200.branch3 (for branch-3.0) and YARN-8200 (for branch-2)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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