You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2011/05/27 20:42:47 UTC

[jira] [Created] (MAPREDUCE-2539) NPE when calling JobClient.getMapTaskReports for retired job

NPE when calling JobClient.getMapTaskReports for retired job
------------------------------------------------------------

                 Key: MAPREDUCE-2539
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2539
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: client
    Affects Versions: 0.22.0
            Reporter: Robert Joseph Evans
            Assignee: Robert Joseph Evans


When calling JobClient.getMapTaskReports for a retired job this results in a NPE.  In the 0.20.* version an empty TaskReport array was returned instead.

Caused by: java.lang.NullPointerException
        at org.apache.hadoop.mapred.JobClient.getMapTaskReports(JobClient.java:588)
        at org.apache.pig.tools.pigstats.JobStats.addMapReduceStatistics(JobStats.java:388)
......

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira