crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Updated] (CRUNCH-371) AvroPathPerKeyTarget doesn't work with empty input
Date Sat, 29 Mar 2014 12:09:14 GMT


Gabriel Reid updated CRUNCH-371:

    Attachment: CRUNCH-371.patch

Patch to resolve the issue, by just jumping out if there is nothing to output.

> AvroPathPerKeyTarget doesn't work with empty input
> --------------------------------------------------
>                 Key: CRUNCH-371
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>         Attachments: CRUNCH-371.patch
> The AvroPathPerKeyTarget doesn't work properly when there is nothing to be output (for
example, if all records have been filtered out somehow). This situation results in an exception
like the following on HDFS on hadoop-1 
> {code}
> java.lang.IllegalArgumentException: Reducer output
> name 'out0' cannot be parsed
> {code}
> and an FileNotFoundException on hadoop-2.
> In both cases, there should be no exception, and no output should be written. More background
on this in the following mailing list discussion:

This message was sent by Atlassian JIRA

View raw message