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

NPE while requesting info for a non-existing job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 0.23.0
    • 0.23.0
    • mrv2
    • None

    Description

      While performing job related operations such as job -kill, -status, -events etc for an unknown job, the following NPE is seen:

      Exception in thread "main" java.lang.NullPointerException
      at org.apache.hadoop.mapred.ClientServiceDelegate.refreshProxy(ClientServiceDelegate.java:112)
      at org.apache.hadoop.mapred.ClientServiceDelegate.getProxy(ClientServiceDelegate.java:100)
      at org.apache.hadoop.mapred.ClientServiceDelegate.getRefreshedProxy(ClientServiceDelegate.java:93)
      at org.apache.hadoop.mapred.ClientServiceDelegate.getJobStatus(ClientServiceDelegate.java:383)
      at org.apache.hadoop.mapred.YARNRunner.getJobStatus(YARNRunner.java:515)
      at org.apache.hadoop.mapreduce.Cluster.getJob(Cluster.java:154)
      at org.apache.hadoop.mapreduce.tools.CLI.run(CLI.java:254)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:83)
      at org.apache.hadoop.mapred.JobClient.main(JobClient.java:1074)

      Attachments

        Issue Links

          Activity

            People

              sseth Siddharth Seth
              rramya Ramya Sunil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: