Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C24517D93 for ; Fri, 7 Nov 2014 18:48:34 +0000 (UTC) Received: (qmail 55270 invoked by uid 500); 7 Nov 2014 18:48:34 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 55220 invoked by uid 500); 7 Nov 2014 18:48:34 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 55209 invoked by uid 99); 7 Nov 2014 18:48:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 18:48:34 +0000 Date: Fri, 7 Nov 2014 18:48:34 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2824) Capacity of labels should be zero by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)