crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Beech (JIRA)" <>
Subject [jira] [Updated] (CRUNCH-146) Jobs given Avro input data without '.avro' extension succeed, but do nothing
Date Wed, 16 Jan 2013 17:16:13 GMT


Dave Beech updated CRUNCH-146:

    Attachment: CRUNCH-146-errorcheck.patch

An alternative patch to fail the job if non '.avro' files are given as input. 

I'd prefer to get rid of the check altogether though, I don't think it's necessary.
> Jobs given Avro input data without '.avro' extension succeed, but do nothing
> ----------------------------------------------------------------------------
>                 Key: CRUNCH-146
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.4.0
>            Reporter: Dave Beech
>            Assignee: Josh Wills
>         Attachments: CRUNCH-146-errorcheck.patch, CRUNCH-146.patch
> The Crunch AvroInputFormat class explicitly checks each input path for a '.avro' extension.

> If none of the input paths have such an extension, the job continues and succeeds even
though no map tasks get allocated, and none of the pipeline stages are executed. 
> ( I notice this behaviour is taken from Avro's own input format. It does happen in standard
Avro mapreduce too therefore, but only in the old mapred API - the new mapreduce API version
will happily read files regardless of extension. I'm going to report this as a bug on Avro
as well...)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message