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

Mahadev konar commented on AMBARI-12362:
----------------------------------------

+1 for the patch.

> 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)

Reply via email to