[ 
https://issues.apache.org/jira/browse/HADOOP-5419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696052#action_12696052
 ] 

Karam Singh commented on HADOOP-5419:
-------------------------------------

After applying the latest patch, ran some -: mapred. queue -showacls commands 
and found one issue and one minor enhancement-:
Issue -:
In mapred-site.xml for queue acls if we specify user gorups instead of user 
queue -showacls command gives black list in console. 
E.g 
Have two queue: Q1,Q2
Q1 acl: SUBMIT_JOB=u1,u2 and ADMIN_JOB=U3
Q2 acls SUBMIT_JOB= UG1(where UG1 is user group) and ADMIN_JOB=U3

Now use commad:  mapred queue -showacls (with user U5 who is part of UG1 group)
It shows -:
[
Queue acls for user :  U5

]
Where U5 can submit job to Q2

Enhancemnet-:
Consider same case and use comamnd : mapred queue -showacls (with user U4 who 
is not part of  UG1 group).
It shows -:
[
Queue acls for user :  U5

]

It would be better if we show some message e.g. (User does haves perssions on 
any queue) instead of showing blank line







> 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.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.

Reply via email to