Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1587

NPE in JobClient querying an (empty) queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 0.22.0
    • None
    • client
    • None
    • Suse Linux Java 6u15

    Description

      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.

      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)
      
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: