avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1234) Avro MapReduce jobs silently ignore input data without '.avro' extension
Date Fri, 18 Jan 2013 18:54:13 GMT

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

Harsh J commented on AVRO-1234:
-------------------------------

I agree; have not seen any other format do this. +1 from me. Also guessing that no test covered
this earlier.
                
> Avro MapReduce jobs silently ignore input data without '.avro' extension
> ------------------------------------------------------------------------
>
>                 Key: AVRO-1234
>                 URL: https://issues.apache.org/jira/browse/AVRO-1234
>             Project: Avro
>          Issue Type: Bug
>    Affects Versions: 1.7.3
>            Reporter: Dave Beech
>            Assignee: Dave Beech
>         Attachments: AVRO-1234.patch
>
>
> The AvroInputFormat class explicitly checks each input path for a '.avro' extension.

> If only some of the input paths have the correct extension, the remainder are silently
ignored and not included in the job. However, if none of the input paths have the extension,
the job will continue and succeed even though no map tasks are allocated, and no work is done.
> This only happens using the old mapred API. The new mapreduce API version will happily
read files regardless of extension. 
> Is the check necessary?

--
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

Mime
View raw message