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 73DAD10C88 for ; Fri, 14 Mar 2014 23:24:48 +0000 (UTC) Received: (qmail 99283 invoked by uid 500); 14 Mar 2014 23:24:46 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 99223 invoked by uid 500); 14 Mar 2014 23:24:44 -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 99155 invoked by uid 99); 14 Mar 2014 23:24:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 23:24:43 +0000 Date: Fri, 14 Mar 2014 23:24:43 +0000 (UTC) From: "Tsuyoshi OZAWA (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1536) Cleanup: Get rid of ResourceManager#get*SecretManager() methods and use the RMContext methods instead 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-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13935811#comment-13935811 ] Tsuyoshi OZAWA commented on YARN-1536: -------------------------------------- +1, LGTM. Confirmed to pass tests correctly on local. TestRMRestart's failure has been already filed as YARN-1830. [~kkambatl], can you also check it? > Cleanup: Get rid of ResourceManager#get*SecretManager() methods and use the RMContext methods instead > ----------------------------------------------------------------------------------------------------- > > Key: YARN-1536 > URL: https://issues.apache.org/jira/browse/YARN-1536 > Project: Hadoop YARN > Issue Type: Improvement > Components: resourcemanager > Affects Versions: 2.3.0 > Reporter: Karthik Kambatla > Assignee: Anubhav Dhoot > Priority: Minor > Labels: newbie > Attachments: yarn-1536.patch > > > Both ResourceManager and RMContext have methods to access the secret managers, and it should be safe (cleaner) to get rid of the ResourceManager methods. -- This message was sent by Atlassian JIRA (v6.2#6252)