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

JobClient.getMapTaskReports on failed job results in NPE

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.3
    • 2.0.2-alpha, 0.23.4
    • client
    • None

    Description

      When calling JobClient.getMapTaskReports for a job that has failed results in an NPE. For example:

      Exception in thread "main" java.lang.NullPointerException
      	at org.apache.hadoop.mapreduce.counters.AbstractCounters.<init>(AbstractCounters.java:107)
      	at org.apache.hadoop.mapred.Counters.<init>(Counters.java:71)
      	at org.apache.hadoop.mapred.Counters.downgrade(Counters.java:80)
      	at org.apache.hadoop.mapred.TaskReport.downgrade(TaskReport.java:81)
      	at org.apache.hadoop.mapred.TaskReport.downgradeArray(TaskReport.java:88)
      	at org.apache.hadoop.mapred.JobClient.getTaskReports(JobClient.java:691)
      	at org.apache.hadoop.mapred.JobClient.getMapTaskReports(JobClient.java:681)
      ...
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jlowe Jason Darrell Lowe Assign to me
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment