sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaditya Raj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2282) Add validation check for --hive-import and --append
Date Thu, 30 Jul 2015 15:29:04 GMT

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

Aaditya Raj commented on SQOOP-2282:

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

View raw message