You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2014/02/07 10:51:24 UTC

[jira] [Commented] (SQOOP-1282) Consider avro files even if they carry no extension

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

Harsh J commented on SQOOP-1282:
--------------------------------

Patch was compiled and tested with {{ant clean test -Dtestcase=TestAvroExport}}.

> Consider avro files even if they carry no extension
> ---------------------------------------------------
>
>                 Key: SQOOP-1282
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1282
>             Project: Sqoop
>          Issue Type: Improvement
>    Affects Versions: 1.4.4
>            Reporter: Harsh J
>            Assignee: Harsh J
>            Priority: Minor
>         Attachments: SQOOP-1282.patch
>
>
> The Export jobs in Sqoop have a mechanism that checks file contents to determine if its of Avro type or etc. regardless of extension, so it makes less sense to then also go forward and silently ignore all files in the export-dir that carry no .avro extension.
> Kinda similar to AVRO-1234, except we do not check for file validity in the Avro project's input format or driver levels as we already do in Sqoop.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)