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 C4304F81D for ; Wed, 5 Nov 2014 08:39:34 +0000 (UTC) Received: (qmail 99446 invoked by uid 500); 5 Nov 2014 08:39:34 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 99395 invoked by uid 500); 5 Nov 2014 08:39: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 99383 invoked by uid 99); 5 Nov 2014 08:39:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2014 08:39:34 +0000 Date: Wed, 5 Nov 2014 08:39:34 +0000 (UTC) From: "Vinod Kumar Vavilapalli (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2579) Both RM's state is Active , but 1 RM is not really active. 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-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197890#comment-14197890 ] Vinod Kumar Vavilapalli commented on YARN-2579: ----------------------------------------------- Tx for working on this [~rohithsharma]! The abstractions are all broken in this part of the code-base, but it's not your fault. Given this is a blocker, your approach to minimize the changes is good! One comment: This still is invoking transitionToStandby in the RMStateStore's dispatcher. So what we will see is the following {code} RMStateStoreDispatcher.handle() -> store fails in the event, generates a notifyStoreOperationFailed -> invokes resourceManager.handleTransitionToStandBy -> calls transitionToStandby(boolean) -> activeServices.stop() -> stateStore.close() -> RMStateStoreDispatcher.stop() {code} We should avoid these dispatcher events trying to close the dispatchers - that was why I suggested a separate thread (my point 2.2 in the proposal). > Both RM's state is Active , but 1 RM is not really active. > ---------------------------------------------------------- > > Key: YARN-2579 > URL: https://issues.apache.org/jira/browse/YARN-2579 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.5.1 > Reporter: Rohith > Assignee: Rohith > Priority: Blocker > Attachments: YARN-2579-20141105.1.patch, YARN-2579-20141105.patch, YARN-2579.patch, YARN-2579.patch > > > I encountered a situaltion where both RM's web page was able to access and its state displayed as Active. But One of the RM's ActiveServices were stopped. -- This message was sent by Atlassian JIRA (v6.3.4#6332)