You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/04/07 17:42:12 UTC

[jira] [Commented] (MAPREDUCE-1784) IFile should check for null compressor

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

Hudson commented on MAPREDUCE-1784:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #643 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/643/])
    

> IFile should check for null compressor
> --------------------------------------
>
>                 Key: MAPREDUCE-1784
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1784
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.3, 0.21.1, 0.22.0
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: mapred-1784-1.patch, mapred-1784-2.patch
>
>
> IFile assumes that when it has a codec it can always get a compressor. This fails when mapred.compress.map.output is true but the native libraries are not installed, resulting in an NPE:
> {code}
> java.lang.NullPointerException
> at org.apache.hadoop.mapred.IFile$Writer.<init>(IFile.java:102)
> at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpill(MapTask.java:1198)
> at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:1091)
> at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:359)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
> at org.apache.hadoop.mapred.Child.main(Child.java:170)
> {code}
> Let's make IFile handle this case by logging and using non-compressed streams.l

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