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 A2AA210878 for ; Fri, 4 Sep 2015 05:23:46 +0000 (UTC) Received: (qmail 927 invoked by uid 500); 4 Sep 2015 05:23:46 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 877 invoked by uid 500); 4 Sep 2015 05:23:46 -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 866 invoked by uid 99); 4 Sep 2015 05:23:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2015 05:23:46 +0000 Date: Fri, 4 Sep 2015 05:23:46 +0000 (UTC) From: "Bibin A Chundatt (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4106) NodeLabels for NM in distributed mode is not updated even after clusterNodelabel addition in RM 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-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730338#comment-14730338 ] Bibin A Chundatt commented on YARN-4106: ---------------------------------------- Hi [~leftnoteasy] Also checking distributed labels further found that Timer task is not getting triggers as expected. In {{ConfigurationNodeLabelsProvider#serviceInit}} {{startTime }} is getting set wrongly {code} if (intervalTime != DISABLE_NODE_LABELS_PROVIDER_FETCH_TIMER) { startTime = new Date().getTime() + intervalTime; } {code} Need to remove the same. [~Naganarasimha] have a look at the same will update patch further after your comments.. > NodeLabels for NM in distributed mode is not updated even after clusterNodelabel addition in RM > ------------------------------------------------------------------------------------------------ > > Key: YARN-4106 > URL: https://issues.apache.org/jira/browse/YARN-4106 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Priority: Critical > Attachments: 0001-YARN-4106.patch, 0002-YARN-4106.patch > > > NodeLabels for NM in distributed mode is not updated even after clusterNodelabel addition in RM > Steps to reproduce > =============== > # Configure nodelabel in distributed mode > yarn.node-labels.configuration-type=distributed > provider = config > yarn.nodemanager.node-labels.provider.fetch-interval-ms=120000ms > # Start RM the NM > # Once NM is registration is done add nodelabels in RM > Nodelabels not getting updated in RM side -- This message was sent by Atlassian JIRA (v6.3.4#6332)