ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12362) Manual upgrade fails - YARN RM restart failed due to yarn node labels error
Date Thu, 09 Jul 2015 23:23:04 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621438#comment-14621438
] 

Hudson commented on AMBARI-12362:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3091 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3091/])
AMBARI-12362. Manual upgrade fails - YARN RM restart failed due to yarn node labels error.
(swagle: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a74ae4a21fa45707e5e2e2c00ac2d06a9df61786)
* ambari-server/src/test/python/TestUpgradeHelper.py
* ambari-server/src/main/resources/upgrade/catalog/UpgradeCatalog_2.1_to_2.3.json
* ambari-server/src/main/resources/upgrade/catalog/UpgradeCatalog_2.2_to_2.3.json
* ambari-server/src/main/python/upgradeHelper.py


> Manual upgrade fails - YARN RM restart failed due to yarn node labels error
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-12362
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12362
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12362.patch
>
>
> Error: 
> {code}
> java.lang.IllegalArgumentException: Illegal capacity of -1.0 for node-label=default in
queue=root, valid capacity should in range of [0, 100].
>         at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration.internalGetLabeledQueueCapacity(CapacitySchedulerConfiguration.java:507)
>         at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration.getLabeledQueueCapacity(CapacitySchedulerConfiguration.java:519)
>         at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CSQueueUtils.loadCapacitiesByLabelsFromConf(CSQueueUtils.java:142)
>         at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CSQueueUtils.loadUpdateAndCheckCapacities(CSQueueUtils.java:121)
> {code}
> Configs attached. 
> Issue needs to be fixed in both YARN and Ambari. 
> YARN should be ignoring these settings if node labels are disabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message