[
https://issues.apache.org/jira/browse/SQOOP-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747929#comment-13747929
]
ASF subversion and git services commented on SQOOP-1179:
--------------------------------------------------------
Commit fa40fcabea1dc8bc83bf273cbe49c43da26c83e2 in branch refs/heads/trunk from
[~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=fa40fca ]
SQOOP-1179: Incorrect warning saying --hive-import was not specified when it
was specified
(Venkat Ranganathan via Jarek Jarek Cecho)
> Incorrect warning saying --hive-import was not specified when it was specified
> ------------------------------------------------------------------------------
>
> Key: SQOOP-1179
> URL: https://issues.apache.org/jira/browse/SQOOP-1179
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Sqoop 1.4.4
> Reporter: Venkat Ranganathan
> Assignee: Venkat Ranganathan
> Attachments: SQOOP-1179.patch
>
>
> The conditionals to check for hive options without hive import need to be
> grouped so that the warning message for lack of --hive-import is right
> For example, the command line
> {code}
> sqoop import <other options > --table <table> --warehouse-dir
> <warehouse-dir> --hive-import --hive-overwrite
> {code}
> Throws the following error
> {code}
> 013-08-21 20:13:00,804|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: It seems that you've specified at least one of following:
> 2013-08-21 20:13:00,805|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: --hive-home
> 2013-08-21 20:13:00,805|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: --hive-overwrite
> 2013-08-21 20:13:00,805|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: --create-hive-table
> 2013-08-21 20:13:00,806|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: --hive-table
> 2013-08-21 20:13:00,806|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: --hive-partition-key
> 2013-08-21 20:13:00,806|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: --hive-partition-value
> 2013-08-21 20:13:00,806|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: --map-column-hive
> 2013-08-21 20:13:00,807|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: Without specifying parameter --hive-import. Please note
> that
> 2013-08-21 20:13:00,807|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: those arguments will not be used in this session. Either
> 2013-08-21 20:13:00,807|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: specify --hive-import to apply them correctly or remove
> them
> 2013-08-21 20:13:00,807|beaver.machine|INFO|13/08/21 20:13:00 WARN
> tool.BaseSqoopTool: from command line to remove this warning.
> {code}
--
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