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 "Daniel Templeton (JIRA)" <ji...@apache.org> on 2016/03/09 20:49:40 UTC
[jira] [Commented] (YARN-4560) Make scheduler error checking
message more user friendly
[ https://issues.apache.org/jira/browse/YARN-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187783#comment-15187783 ]
Daniel Templeton commented on YARN-4560:
----------------------------------------
Looks good to me. +1 (non-binding). [~kasha]?
> Make scheduler error checking message more user friendly
> --------------------------------------------------------
>
> Key: YARN-4560
> URL: https://issues.apache.org/jira/browse/YARN-4560
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: yarn
> Affects Versions: 2.7.1
> Reporter: Ray Chiang
> Assignee: Ray Chiang
> Priority: Trivial
> Labels: supportability
> Attachments: YARN-4560.001.patch
>
>
> If the YARN properties below are poorly configured:
> {code}
> yarn.scheduler.minimum-allocation-mb
> yarn.scheduler.maximum-allocation-mb
> {code}
> The error message that shows up in the RM is:
> {panel}
> 2016-01-07 14:47:03,711 FATAL org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting ResourceManager
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Invalid resource scheduler memory allocation configuration, yarn.scheduler.minimum-allocation-mb=-1, yarn.scheduler.maximum-allocation-mb=-3, min should equal greater than 0, max should be no smaller than min.
> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.validateConf(FairScheduler.java:215)
> {panel}
> While it's technically correct, it's not very user friendly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)