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 677D317468 for ; Tue, 23 Jun 2015 04:31:06 +0000 (UTC) Received: (qmail 34261 invoked by uid 500); 23 Jun 2015 04:31:01 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 34208 invoked by uid 500); 23 Jun 2015 04:31:01 -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 34197 invoked by uid 99); 23 Jun 2015 04:31:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 04:31:01 +0000 Date: Tue, 23 Jun 2015 04:31:01 +0000 (UTC) From: "Masatake Iwasaki (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-3705) forcemanual transitionToStandby in RM-HA automatic-failover mode should change elector state 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-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Masatake Iwasaki updated YARN-3705: ----------------------------------- Attachment: YARN-3705.003.patch The test failure is relevant. ResourceManager#handleTransitionToStandBy is expected to be used only when automatic failover enabled. I am attaching 003 addressing non automatic failover case too. > forcemanual transitionToStandby in RM-HA automatic-failover mode should change elector state > -------------------------------------------------------------------------------------------- > > Key: YARN-3705 > URL: https://issues.apache.org/jira/browse/YARN-3705 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Masatake Iwasaki > Assignee: Masatake Iwasaki > Attachments: YARN-3705.001.patch, YARN-3705.002.patch, YARN-3705.003.patch > > > Executing {{rmadmin -transitionToStandby --forcemanual}} in automatic-failover.enabled mode makes ResouceManager standby while keeping the state of ActiveStandbyElector. It should make elector to quit and rejoin in order to enable other candidates to promote, otherwise forcemanual transition should not be allowed in automatic-failover mode in order to avoid confusion. -- This message was sent by Atlassian JIRA (v6.3.4#6332)