hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2539) NPE when calling JobClient.getMapTaskReports for retired job
Date Sat, 28 May 2011 15:29:47 GMT

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

Robert Joseph Evans commented on MAPREDUCE-2539:
------------------------------------------------

I am not really sure why findbugs was marked as a -1.  The findbugs error count is the same
as it was before this patch.  Also there a no errors in any of the files that are touched
by this patch.

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message