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 CBE3917F83 for ; Tue, 17 Mar 2015 20:37:38 +0000 (UTC) Received: (qmail 82116 invoked by uid 500); 17 Mar 2015 20:37:38 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 82077 invoked by uid 500); 17 Mar 2015 20:37:38 -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 82062 invoked by uid 99); 17 Mar 2015 20:37:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 20:37:38 +0000 Date: Tue, 17 Mar 2015 20:37:38 +0000 (UTC) From: "Naganarasimha G R (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-2495) Allow admin specify labels from each NM (Distributed configuration) 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-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Naganarasimha G R updated YARN-2495: ------------------------------------ Attachment: YARN-2495.20150318-1.patch Hi [~wangda], Thanks for finalizing the solution , +1 for use of {{NodeIdToLabelsProto}}, i have incorporated this in the patch but ensured that interface will have set and get NodeLabels in NodeHeartbeatRequest and RegisterNodeManagerRequest but manipulate in PBImpl's such that NodeIdToLabelsProto is communicated across. So NodeLabelsSet will be null if no labels are sent across. +1 for handling of "Regarding the invalid node label issue of registration/hearbeating" , Making the node labels empty will ensure that based on old labels, scheduler will not wrongly allocate. But as part of this patch will be only handling the logging of invalid labels in NM and RM. WebUI updation and setting the node labels empty will be handled as part of new jira, as this jira is becoming bulkier I have incorporated other review comments (including the NM and NodeStatusUpdateImpl modifications wrt Wangda's comments) > Allow admin specify labels from each NM (Distributed configuration) > ------------------------------------------------------------------- > > Key: YARN-2495 > URL: https://issues.apache.org/jira/browse/YARN-2495 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Wangda Tan > Assignee: Naganarasimha G R > Attachments: YARN-2495.20141023-1.patch, YARN-2495.20141024-1.patch, YARN-2495.20141030-1.patch, YARN-2495.20141031-1.patch, YARN-2495.20141119-1.patch, YARN-2495.20141126-1.patch, YARN-2495.20141204-1.patch, YARN-2495.20141208-1.patch, YARN-2495.20150305-1.patch, YARN-2495.20150309-1.patch, YARN-2495.20150318-1.patch, YARN-2495_20141022.1.patch > > > Target of this JIRA is to allow admin specify labels in each NM, this covers > - User can set labels in each NM (by setting yarn-site.xml (YARN-2923) or using script suggested by [~aw] (YARN-2729) ) > - NM will send labels to RM via ResourceTracker API > - RM will set labels in NodeLabelManager when NM register/update labels -- This message was sent by Atlassian JIRA (v6.3.4#6332)