You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Arvind Prabhakar (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/22 21:22:22 UTC

[jira] [Resolved] (SQOOP-464) Warn when user is importing data into /user/hive/warehouse with flag --hive-import

     [ https://issues.apache.org/jira/browse/SQOOP-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arvind Prabhakar resolved SQOOP-464.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.2-incubating

Patch committed. Thanks Jarcec!
                
> Warn when user is importing data into /user/hive/warehouse with flag --hive-import
> ----------------------------------------------------------------------------------
>
>                 Key: SQOOP-464
>                 URL: https://issues.apache.org/jira/browse/SQOOP-464
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.4.2-incubating
>
>         Attachments: SQOOP-464.patch
>
>
> I've recently seen couple of users who were trying to import data into hive (--hive-import) with --target-dir or --warehouse-dir set to /user/hive/warehouse. Sqoop wasn't designed to directly import data into hive warehouse directory. Instead we're importing data into temporary directory first and then by hive call "LOAD DATA" we're instructing hive to do actual load (move to /user/hive/warehouse).
> I would suggest to warn user when he is trying to import data into default hive warehouse directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira