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

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

Applied hadoop-5419-5.patch.
Found that when try to run command -: "hadoop queue -showacls" from a user who 
does not have access to any queue. It throes NPE : -
Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.hadoop.mapred.JobQueueClient.displayQueueAclsInfoForCurrentUser(JobQueueClient.java:162)
        at org.apache.hadoop.mapred.JobQueueClient.run(JobQueueClient.java:99)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.mapred.JobQueueClient.main(JobQueueClient.java:182)



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

Reply via email to