[
https://issues.apache.org/jira/browse/YARN-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16783378#comment-16783378
]
Adam Antal commented on YARN-9047:
----------------------------------
Hi [~snemeth],
Do you have an update for this?
Also I find it quite strange that {{TestFairScheduler.java}} got so many
imports. Check in your next patch whether all of them are necessary.
> FairScheduler: default resource calculator is not resource type aware
> ---------------------------------------------------------------------
>
> Key: YARN-9047
> URL: https://issues.apache.org/jira/browse/YARN-9047
> Project: Hadoop YARN
> Issue Type: Bug
> Components: fairscheduler
> Reporter: Wilfred Spiegelenburg
> Assignee: Szilard Nemeth
> Priority: Major
> Attachments: YARN-9047.001.patch, YARN-9047.002.patch,
> YARN-9047.003.patch
>
>
> The FairScheduler#getResourceCalculator always returns the default resource
> calculator. The default calculator is not resource type aware and should only
> be used if there are no resource types configured.
> We need to make sure that in we the direct hard code reference to
> {{RESOURCE_CALCULATOR}} is either safe to use in all cases or is not used in
> the scheduler.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]