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 43E159EBB for ; Sat, 29 Sep 2012 01:31:08 +0000 (UTC) Received: (qmail 64488 invoked by uid 500); 29 Sep 2012 01:31:08 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 64435 invoked by uid 500); 29 Sep 2012 01:31: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 64422 invoked by uid 99); 29 Sep 2012 01:31:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 01:31:08 +0000 Date: Sat, 29 Sep 2012 12:31:07 +1100 (NCT) From: "Vinod Kumar Vavilapalli (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: <1153952435.142058.1348882268033.JavaMail.jiratomcat@arcas> In-Reply-To: <675229848.137063.1348795147873.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (YARN-135) ClientTokens should be per app-attempt and be unregistered on App-finish. 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-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kumar Vavilapalli updated YARN-135: ----------------------------------------- Attachment: YARN-135-20120928.txt Attaching a patch. This does the following: - Convert the url-encoded ClientToken from a string to its own class. - Consolidate the code duplicated across ContainerToken, DelegateToken into a base class Token and also use the same for ClientToken. - Make ClientToken per app-attempt (the focus of this JIRA) - Also unregister keys from ClientTokenSecretManager when an app-attempt finishes. > ClientTokens should be per app-attempt and be unregistered on App-finish. > ------------------------------------------------------------------------- > > Key: YARN-135 > URL: https://issues.apache.org/jira/browse/YARN-135 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Affects Versions: 0.23.3 > Reporter: Vinod Kumar Vavilapalli > Assignee: Vinod Kumar Vavilapalli > Attachments: YARN-135-20120928.txt > > > Two issues: > - ClientTokens are per app-attempt but are created per app. > - Apps don't get unregistered from RMClientTokenSecretManager. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira