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 88F261040C for ; Tue, 10 Dec 2013 00:46:08 +0000 (UTC) Received: (qmail 62851 invoked by uid 500); 10 Dec 2013 00:46:08 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 62691 invoked by uid 500); 10 Dec 2013 00:46:08 -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 62633 invoked by uid 99); 10 Dec 2013 00:46:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 00:46:08 +0000 Date: Tue, 10 Dec 2013 00:46:08 +0000 (UTC) From: "Xuan Gong (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1325) Enabling HA should check Configuration contains multiple RMs 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-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843771#comment-13843771 ] Xuan Gong commented on YARN-1325: --------------------------------- bq.verifyAndSetAllRpcAddresses -> verifyAndSetAllServiceAddresses DONE bq.Make YarnConfiguration.RM_RPC_ADDRESS_CONF_KEYS @Private DONE bq.YarnConfiguration.RM_RPC_ADDRESS_CONF_KEYS -> RM_SERVICES_ADDRESS_CONF_KEYS DONE bq.excapeRPCAddressVerification can be completely removed if you change RM_RPC_ADDRESS_CONF_KEYS itself to depend on HttpConfig.isSecure. Right? fixed The new patch will focus on checking Configuration contains multiple RMs only. Checking the Configuration that the RM service addresses configurations have been set for all of RM_Ids will be done on YARN-1485. > Enabling HA should check Configuration contains multiple RMs > ------------------------------------------------------------ > > Key: YARN-1325 > URL: https://issues.apache.org/jira/browse/YARN-1325 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Tsuyoshi OZAWA > Assignee: Xuan Gong > Labels: ha > Attachments: YARN-1325.1.patch, YARN-1325.2.patch, YARN-1325.3.patch > > > Currently, we can enable RM HA configuration without multiple RM ids(YarnConfiguration.RM_HA_IDS). This behaviour can cause wrong operations. ResourceManager should verify that more than 1 RM id must be specified in RM-HA-IDs. > One idea is to support "strict mode" to enforce this check as configuration(e.g. yarn.resourcemanager.ha.strict-mode.enabled). -- This message was sent by Atlassian JIRA (v6.1.4#6159)