hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhankun Tang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9172) Correct the typo "DominantResourceCalculator" in CapacityScheduler
Date Thu, 03 Jan 2019 03:42:00 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message