[ https://issues.apache.org/jira/browse/YARN-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16716666#comment-16716666 ]
Szilard Nemeth commented on YARN-9047: -------------------------------------- [~wilfreds]: As discussed offline, we need to use the DominantResourceCalculator in all cases. I ran all the tests locally (not just FS but all YARN tests), they all passed so I expect the same from Jenkins. So in this sense, this is ready for review. > 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: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org