[
https://issues.apache.org/jira/browse/MAPREDUCE-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843565#action_12843565
]
Steve Loughran commented on MAPREDUCE-1587:
-------------------------------------------
Once I submit one job, this works
{code}
[sshexec] 10/03/10 14:04:36 WARN conf.Configuration: DEPRECATED:
hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated.
Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override
properties of core-default.xml, mapred-default.xml and hdfs-default.xml
respectively
[sshexec] 10/03/10 14:04:37 INFO security.Groups: Group mapping
impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000
[sshexec] Queue Name : default
[sshexec] Queue State : running
[sshexec] Scheduling Info : N/A
[sshexec] ======================
{code}
Assumption: until that first job is sent in, you can't ask for queue info
> 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.