You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Aaditya Raj (JIRA)" <ji...@apache.org> on 2015/07/30 17:29:06 UTC
[jira] [Issue Comment Deleted] (SQOOP-2282) Add validation check
for --hive-import and --append
[ https://issues.apache.org/jira/browse/SQOOP-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaditya Raj updated SQOOP-2282:
-------------------------------
Comment: was deleted
(was: Thanks [~jarcec] for quick reply . we are using --hive-import with incremental option.
Let me share import scripts what we are using now :
sqoop job --meta-connect jdbc:hsqldb:hsql://<IP>:16000/sqoop --create sample_job -- import --connect <oracle jdbc url> --table sample --map-column-hive UPDATE_TS=TIMESTAMP --map-column-hive INSERT_TS=TIMESTAMP --hive-drop-import-delims --hive-import --hive-table sample_hive -m 1 --split-by ID --incremental append --check-column ID
Here we are using append as --incremental option. There is no switch --append .
Error :
15/07/30 20:46:46 INFO tool.BaseSqoopTool: delimiters with --fields-terminated-by, etc.
Append mode for hive imports is not yet supported. Please remove the parameter --append-mode
)
> Add validation check for --hive-import and --append
> ---------------------------------------------------
>
> Key: SQOOP-2282
> URL: https://issues.apache.org/jira/browse/SQOOP-2282
> Project: Sqoop
> Issue Type: Bug
> Reporter: Abraham Elmahrek
> Assignee: Abraham Elmahrek
> Fix For: 1.4.6
>
> Attachments: SQOOP-2282.patch
>
>
> They don't work together currently. Though, it seems easy to add.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)