You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zhankun Tang (JIRA)" <ji...@apache.org> on 2019/01/03 03:42:00 UTC

[jira] [Created] (YARN-9172) Correct the typo "DominantResourceCalculator" in CapacityScheduler

Zhankun Tang created YARN-9172:
----------------------------------

             Summary: Correct the typo "DominantResourceCalculator" in CapacityScheduler
                 Key: YARN-9172
                 URL: https://issues.apache.org/jira/browse/YARN-9172
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Zhankun Tang
            Assignee: Zhankun Tang


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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org