hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6464) mapred queue <args> is throwing the NPE in case of the local framework
Date Thu, 27 Oct 2016 07:13:58 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Prabhu Joseph updated MAPREDUCE-6464:
-------------------------------------
    Attachment: MAPREDUCE-6464-2.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: 2.7.1, 3.0.0-alpha1
>         Environment: Linux 
>            Reporter: Mohammad Shahid Khan
>            Assignee: Mohammad Shahid Khan
>            Priority: Minor
>         Attachments: MAPREDUCE-6464-1.patch, MAPREDUCE-6464-2.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)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message