crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Brush (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-481) Support independent output committers for multiple outputs
Date Wed, 04 Feb 2015 21:54:35 GMT


Ryan Brush commented on CRUNCH-481:

This may be more appropriate for the related CDK-756 bug, but has anyone gotten this to work
with a Hadoop 2 or CDH setup? I get the stack trace below when doing so.

Interestingly, when debugging against a Hadoop 1 build I don't see the CompositeOutputCommitter.setupJob
being called at all, which avoids the creation of the redundant dataset.

(This can be reproduced by running the crunch_write_multiple_datasets.patch on CDK-756 against
this code with a Hadoop 2 profile.)

15/02/04 15:30:21 INFO jobcontrol.CrunchControlledJob: Job status available at: http://localhost:8080/
15/02/04 15:30:21 INFO mapred.LocalJobRunner: OutputCommitter is$CompositeOutputCommitter
15/02/04 15:30:21 WARN mapred.LocalJobRunner: job_local1926953006_0002 Descriptor directory already exists: file:/var/folders/wy/tcxd96vx4vb_8m98zsjrn1vnlv9lnn/T/1423085421414-0/ns/.temp/job_local1926953006_0002/mr/job_local1926953006_0002/.metadata
     at org.apache.hadoop.mapred.LocalJobRunner$

> Support independent output committers for multiple outputs
> ----------------------------------------------------------
>                 Key: CRUNCH-481
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>            Reporter: Aniket Kulkarni
>            Assignee: Josh Wills
>            Priority: Minor
>             Fix For: 0.12.0
>         Attachments: CRUNCH-481.patch, CRUNCH-481.patch, CRUNCH-481.patch, CRUNCH-481c.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] -
> [2] -

This message was sent by Atlassian JIRA

View raw message