Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 64391 invoked from network); 8 May 2009 10:00:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 May 2009 10:00:11 -0000 Received: (qmail 37595 invoked by uid 500); 8 May 2009 10:00:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 37533 invoked by uid 500); 8 May 2009 10:00:10 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 37523 invoked by uid 99); 8 May 2009 10:00:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2009 10:00:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2009 10:00:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8EFB2234C041 for ; Fri, 8 May 2009 02:59:45 -0700 (PDT) Message-ID: <760282921.1241776785571.JavaMail.jira@brutus> Date: Fri, 8 May 2009 02:59:45 -0700 (PDT) From: "Hemanth Yamijala (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5419) Provide a way for users to find out what operations they can do on which M/R queues In-Reply-To: <802526595.1236316556329.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707296#action_12707296 ] Hemanth Yamijala commented on HADOOP-5419: ------------------------------------------ Close, but a little more work: - In displayQueueAclsInfoForCurrentUser, when no ACLs are returned, we are using UserGroupInformation.getCurrentUGI().getUserName(). This could be null if the login is not done, right ? - I would recommend that the JobClient API be changed to getQueueAclsForCurrentUser, and the java doc updated accordingly. - QueueManager API need not be called getCurrentUserQueueAclsInfo, as we are passing a UGI. Let's just call it getQueueAcls(UGI ugi) - Javadoc for the QueueManager API is still saying 'current user' though we are passing in the UGI. - java.util.Iterator is not needed in QueueManager, I think, Can you check - I think the formatting of the QueueAclsInfo in the toString is not right. Let's keep all formatting in JobQueueClient API and remove the toString - > Provide a way for users to find out what operations they can do on which M/R queues > ----------------------------------------------------------------------------------- > > Key: HADOOP-5419 > URL: https://issues.apache.org/jira/browse/HADOOP-5419 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Reporter: Hemanth Yamijala > Assignee: rahul k singh > Attachments: commands_manual.pdf, hadoop-5419-1.patch, hadoop-5419-1.patch, hadoop-5419-2.patch, hadoop-5419-2.patch, hadoop-5419-3.patch, hadoop-5419-4.patch, hadoop-5419.patch, hadoop-5419.patch, hadoop-5419.patch, hadoop-5419.patch > > > This issue is to provide an improvement on the existing M/R framework to let users know which queues they have access to, and for what operations. One use case for this would that currently there is no easy way to know if the user has access to submit jobs to a queue, until it fails with an access control exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.