[ 
https://issues.apache.org/jira/browse/YARN-9172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhankun Tang resolved YARN-9172.
--------------------------------
    Resolution: Fixed

Already fixed in trunk. Closed this JIRA.

> Correct the typo related to "DominantResourceCalculator" in error message of 
> CapacityScheduler when resource types is more than two
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-9172
>                 URL: https://issues.apache.org/jira/browse/YARN-9172
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Zhankun Tang
>            Assignee: Zhankun Tang
>            Priority: Minor
>
> The error message is thrown when the number of known resource types is 
> greater than 2, but a typo in it as below in red color. 
> "org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses 
> DefaultResourceCalculator which used only memory as resource-type but invalid 
> resource-types specified
> ....
> Use {color:#d04437}DomainantResourceCalculator{color} instead to make 
> effective use of these resource-types
> at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:347)
> at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:426)"
> It should be recommending "DominantResourceCalculator" so that user won't 
> search internet for the correct value.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to