You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mohammad Shahid Khan (JIRA)" <ji...@apache.org> on 2015/08/26 08:50:46 UTC
[jira] [Updated] (MAPREDUCE-6464) mapred queue is throwing
the NPE in case of the local framework
[ https://issues.apache.org/jira/browse/MAPREDUCE-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohammad Shahid Khan updated MAPREDUCE-6464:
--------------------------------------------
Attachment: MAPREDUCE-6464-1.patch
> 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: 3.0.0, 2.7.1
> Environment: Linux
> Reporter: Mohammad Shahid Khan
> Assignee: Mohammad Shahid Khan
> Priority: Minor
> Attachments: MAPREDUCE-6464-1.patch
>
>
> 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)