[ https://issues.apache.org/jira/browse/YARN-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sen Zhao updated YARN-7255: --------------------------- Description: In {{CapacityScheduler.allocate()}}, there is a call {{getResourceCalculator()}} to get a value to pass as the resourceCalculator parameter to {{getAllocation()}}, but the parameter is unuse in the method. So I remove the parameter. (was: In CapacityScheduler.allocate(), there is a call {{getResourceCalculator()}} to get a value to pass as the resourceCalculator parameter to {{getAllocation()}}, but the parameter is unuse in the method. So I remove the parameter.) > FiCaSchedulerApp.getAllocation() have a unuse parameter > ------------------------------------------------------- > > Key: YARN-7255 > URL: https://issues.apache.org/jira/browse/YARN-7255 > Project: Hadoop YARN > Issue Type: Bug > Components: capacity scheduler > Reporter: Sen Zhao > Assignee: Sen Zhao > Priority: Minor > Attachments: YARN-7255.001.patch > > > In {{CapacityScheduler.allocate()}}, there is a call > {{getResourceCalculator()}} to get a value to pass as the resourceCalculator > parameter to {{getAllocation()}}, but the parameter is unuse in the method. > So I remove the parameter. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org