[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195537#comment-13195537
 ] 

Hudson commented on MAPREDUCE-2539:
-----------------------------------

Integrated in Hadoop-Mapreduce-22-branch #98 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/98/])
    MAPREDUCE-2539. Fixed NPE in getMapTaskReports in JobClient. Contributed by 
Robert Evans.

shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1236961
Files : 
* /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt
* 
/hadoop/common/branches/branch-0.22/mapreduce/src/java/org/apache/hadoop/mapred/JobClient.java
* 
/hadoop/common/branches/branch-0.22/mapreduce/src/test/mapred/org/apache/hadoop/mapred/JobClientUnitTest.java

                
> 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
>         Attachments: MR-2539-trunk-v1.patch, MR-2539-yarn-v1.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to