You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2014/12/01 13:40:13 UTC

[jira] [Commented] (CRUNCH-481) Support independent output committers for multiple outputs

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

Tom White commented on CRUNCH-481:
----------------------------------

Looks good to me. With this patch, the test in CDK-756 now passes.

One question, are there cases where a job has multiple outputs to the same directory? This is regarding CompositeOutputCommitter#commitJob, where the code path for FileOutputCommitter is special-cased so that each path is handled only once.

> Support independent output committers for multiple outputs
> ----------------------------------------------------------
>
>                 Key: CRUNCH-481
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-481
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>            Reporter: Aniket Kulkarni
>            Assignee: Josh Wills
>            Priority: Minor
>         Attachments: CRUNCH-481.patch
>
>
> I faced this issue while trying to write to Kite and HDFS in the same pipeline. A similar issue was logged for Kite[1][2]. 
> I was attempting to write a PCollection to Kite and a different PTable to HDFS as a text file. The write to Kite succeeded, however the write to HDFS only produced a _SUCCESS file with no text file.
> Commenting out the write to Kite seems to solve the issue and I can see the text file being written.
> [1] - https://issues.cloudera.org/browse/CDK-756
> [2] - http://mail-archives.apache.org/mod_mbox/crunch-dev/201401.mbox/%3CCAF-WD4QCUe0Toh3qewpDNnom3u786PVJLgH7T6Go_AbcTpLTaw@mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)