[
https://issues.apache.org/jira/browse/YARN-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561633#comment-16561633
]
Szilard Nemeth commented on YARN-7948:
--------------------------------------
Hi [~haibochen]!
Thanks for the review!
{{CustomResourceTypesConfigurationProvider}} is being used in
{{initResourceTypes}} as a {{RM_CONFIGURATION_PROVIDER_CLASS}}.
This class provides a way to replace the resource-types configuration so I can
inject my custom XML, so I will have a custom resource type registered
initially.
With the latest patch, I moved the new test method to a new class:
{{TestFairSchedulerWithMultiResourceTypes}} as YARN-7738 did the same with
capacity scheduler, so I wanted to follow this pattern.
Please check the new patch, thanks!
> Enable refreshing maximum allocation for multiple resource types
> ----------------------------------------------------------------
>
> Key: YARN-7948
> URL: https://issues.apache.org/jira/browse/YARN-7948
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: fairscheduler
> Affects Versions: 3.0.0
> Reporter: Yufei Gu
> Assignee: Szilard Nemeth
> Priority: Major
> Attachments: YARN-7948.001.patch, YARN-7948.002.patch
>
>
> YARN-7738 did the same thing for CS. We need a fix for FS. We could fix it by
> moving the refresh code from class CS to class AbstractYARNScheduler.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]