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 1371F102DE for ; Fri, 23 Aug 2013 21:23:53 +0000 (UTC) Received: (qmail 49237 invoked by uid 500); 23 Aug 2013 21:23:52 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 49205 invoked by uid 500); 23 Aug 2013 21:23:52 -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 49196 invoked by uid 99); 23 Aug 2013 21:23:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Aug 2013 21:23:52 +0000 Date: Fri, 23 Aug 2013 21:23:52 +0000 (UTC) From: "Daryn Sharp (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-707) Add user info in the YARN ClientToken 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-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748999#comment-13748999 ] Daryn Sharp commented on YARN-707: ---------------------------------- It almost seems like it would be better to invert the approach to be more consistent with other tokens - the owner of the token is the user (not the app attempt) and there's a new field for the app attempt (instead of a new field for the user). Another thought would be leverage the existing real/effective user in the token. One is the submitter, the other is the app attempt. Logging that includes the UGI will show "appAttempt (auth:...) via daryn (auth:...)", or vice-versa for the users. Thoughts? > Add user info in the YARN ClientToken > ------------------------------------- > > Key: YARN-707 > URL: https://issues.apache.org/jira/browse/YARN-707 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Bikas Saha > Assignee: Vinod Kumar Vavilapalli > Attachments: YARN-707-20130822.txt > > > If user info is present in the client token then it can be used to do limited authz in the AM. -- 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