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] [Resolved] (YARN-9172) Correct the typo related to "DominantResourceCalculator" in error message of CapacityScheduler when resource types is more than two
Date Thu, 03 Jan 2019 03:57:00 GMT

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


Mime
View raw message