hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3516) Possible NPE in org.apache.hadoop.mapred.MapTask.MapOutputBuffer.collect(K key, V value, int partition)
Date Mon, 23 Jan 2012 12:18:40 GMT

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

Harsh J commented on MAPREDUCE-3516:
------------------------------------

Change is fine (maybe add a test case to not regress? Should be easy to extend existing tests
to cover this null check).

Does this not affect trunk btw? Can we have a patch for that as well, if it does? :)

Also, please do not include unrelated changes (Such as import statement rearrangements or
cleanups). It is alright to file them as a separate JIRA instead.
                
> Possible NPE in org.apache.hadoop.mapred.MapTask.MapOutputBuffer.collect(K key, V value,
int partition)
> -------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3516
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3516
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.20.1, 0.20.2, 0.20.203.0, 0.20.205.0, 0.23.0
>            Reporter: Subroto Sanyal
>            Assignee: Subroto Sanyal
>         Attachments: MAPREDUCE-3516.patch
>
>
> *org.apache.hadoop.mapred.MapTask.MapOutputBuffer.collect* accepts a pair of Key and
Value. There is chance that if somehow if a Null value or Key is passed to the method, we
can end up having NPE.

--
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

        

Mime
View raw message