hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3827) Jobs with empty map-outputs and intermediate compression fail
Date Fri, 25 Jul 2008 10:49:31 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616847#action_12616847
] 

Devaraj Das commented on HADOOP-3827:
-------------------------------------

+1 (not committing it as hudson hasn't run it yet).

> Jobs with empty map-outputs and intermediate compression fail
> -------------------------------------------------------------
>
>                 Key: HADOOP-3827
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3827
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.18.0
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: HADOOP-3827_0_20080724.patch
>
>
> The corner case where there are zero map-outputs doesn't pass the codec to the IFile.Writer
leading to un-compressed data and subsequently failure on the reduce when it tries to decompress
that data.
> The straight-forward fix is to pass the codec:
> {noformat}
>            Writer<K, V> writer = new Writer<K, V>(job, finalOut, 
> -                                                 keyClass, valClass, null);
> +                                                 keyClass, valClass, codec);
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message