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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.