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 "Harsh J (JIRA)" <ji...@apache.org> on 2014/07/20 15:35:38 UTC

[jira] [Resolved] (MAPREDUCE-1587) NPE in JobClient querying an (empty) queue

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

Harsh J resolved MAPREDUCE-1587.
--------------------------------

    Resolution: Cannot Reproduce

No longer an issue with recent releases (for the described problem).

P.s. Running the command in local framework/runner mode though, does present the NPE.

> NPE in JobClient querying an (empty) queue
> ------------------------------------------
>
>                 Key: MAPREDUCE-1587
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1587
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.22.0
>         Environment: Suse Linux Java 6u15
>            Reporter: Steve Loughran
>            Priority: Minor
>
> Getting a stack trace on a VM-hosted cluster with an empty queue. Thought maybe it was the -verbose option, but no, remove that and I still see it.
> {code}
> java org.apache.hadoop.mapred.JobQueueClient -list -showjobs -verbose
>   [sshexec] 10/03/10 13:56:21 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000
>   [sshexec] 10/03/10 13:56:21 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=
>   [sshexec] Exception in thread "main" 
>   [sshexec] java.lang.NullPointerException
>   [sshexec] 	at org.apache.hadoop.mapred.JobClient.getJobQueueInfoArray(JobClient.java:921)
>   [sshexec] 	at org.apache.hadoop.mapred.JobClient.getRootQueues(JobClient.java:937)
>   [sshexec] 	at org.apache.hadoop.mapred.JobQueueClient.displayQueueList(JobQueueClient.java:142)
>   [sshexec] 	at org.apache.hadoop.mapred.JobQueueClient.run(JobQueueClient.java:96)
>   [sshexec] 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>   [sshexec] 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>   [sshexec] 	at org.apache.hadoop.mapred.JobQueueClient.main(JobQueueClient.java:232)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)