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

Wangda Tan commented on YARN-2824:
----------------------------------

Hi [~vinodkv],
Thanks for review and commit.
bq. Non-labeled nodes: Default root-capacity is 100% everywhere
Yes,
bq. Labeled nodes: Default capacity is 0%, which means sum of capacities per 
label also will be 0 by default.
Yes, default capacity of labels are 0%, and if parent's capacity is 0, sum of 
children's capacity should be 0 too.

Wangda

> Capacity of labels should be zero by default
> --------------------------------------------
>
>                 Key: YARN-2824
>                 URL: https://issues.apache.org/jira/browse/YARN-2824
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>            Priority: Critical
>             Fix For: 2.6.0
>
>         Attachments: YARN-2824-1.patch, YARN-2824-2.patch
>
>
> In existing Capacity Scheduler behavior, if user doesn't specify capacity of 
> label, queue initialization will be failed. That will cause queue refreshment 
> failed when add a new label to node labels collection and doesn't modify 
> capacity-scheduler.xml.
> With this patch, capacity of labels should be explicitly set if user want to 
> use it. If user doesn't set capacity of some labels, we will treat such 
> labels are unused labels.



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

Reply via email to