hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Shahid Khan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-6464) mapred queue <args> is throwing the NPE in case of the local framework
Date Wed, 26 Aug 2015 04:59:47 GMT
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)

Mime
View raw message