You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Dave Beech (JIRA)" <ji...@apache.org> on 2013/01/16 18:12:14 UTC

[jira] [Created] (CRUNCH-146) Jobs given Avro input data without '.avro' extension succeed, but do nothing

Dave Beech created CRUNCH-146:
---------------------------------

             Summary: Jobs given Avro input data without '.avro' extension succeed, but do nothing
                 Key: CRUNCH-146
                 URL: https://issues.apache.org/jira/browse/CRUNCH-146
             Project: Crunch
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.4.0
            Reporter: Dave Beech
            Assignee: Josh Wills


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: http://www.atlassian.com/software/jira