sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-464) Warn when user is importing data into /user/hive/warehouse with flag --hive-import
Date Thu, 15 Mar 2012 16:25:39 GMT

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

jiraposter@reviews.apache.org commented on SQOOP-464:

This is an automatically generated e-mail. To reply, visit:

Review request for Sqoop, Arvind Prabhakar and Bilung Lee.


I've add parameter validation fragment that is looking for this incorrect usage and warning

This addresses bug SQOOP-464.


  /src/java/org/apache/sqoop/tool/BaseSqoopTool.java 1300633 

Diff: https://reviews.apache.org/r/4364/diff


* ant test -Dhadoopversion={20,23,100}
* On live CDH based cluster



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

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


View raw message