Mohammad Shahid Khan created MAPREDUCE-6464:
-----------------------------------------------
Summary: mapred queue <args> is throwing the NPE in case of the
local framework
Key: MAPREDUCE-6464
URL: https://issues.apache.org/jira/browse/MAPREDUCE-6464
Project: Hadoop Map/Reduce
Issue Type: Bug
Affects Versions: 2.7.1, 3.0.0
Environment: Linux
Reporter: Mohammad Shahid Khan
Assignee: Mohammad Shahid Khan
Priority: Minor
mapred queue <args> is throwing the NPE in case of the local framework.
local framework does not support the same, so instead of throwing the NPE
better we can give a meaning message.
stack trace
{CODE}
/mapred queue -showacls
15/08/26 09:41:53 INFO Configuration.deprecation: session.id is deprecated.
Instead, use dfs.metrics.session-id
15/08/26 09:41:53 INFO jvm.JvmMetrics: Initializing JVM Metrics with
processName=JobTracker, sessionId=
Exception in thread "main" java.lang.NullPointerException
at
org.apache.hadoop.mapred.JobClient.getQueueAclsForCurrentUser(JobClient.java:1210)
at
org.apache.hadoop.mapred.JobQueueClient.displayQueueAclsInfoForCurrentUser(JobQueueClient.java:201)
at org.apache.hadoop.mapred.JobQueueClient.run(JobQueueClient.java:110)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.mapred.JobQueueClient.main(JobQueueClient.java:240)
{CODE}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)