sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishore Veleti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2091) I am unable to perform incremental imports to hdfs/hive
Date Sat, 18 Jul 2015 01:20:04 GMT

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

Kishore Veleti commented on SQOOP-2091:
---------------------------------------

Sai,

What error you are getting ?

> I am unable to perform incremental imports to hdfs/hive
> -------------------------------------------------------
>
>                 Key: SQOOP-2091
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2091
>             Project: Sqoop
>          Issue Type: Test
>          Components: hive-integration
>         Environment: hortonwork
>            Reporter: sai dhiraj v
>            Priority: Blocker
>
> I am trying to get recently updated records into hadoop environment using scoop incremental
import , but it is not working 
> sqoop import \
> --connect "jdbc:sqlserver://Ip adress; database=XXXX" \
> --username=XYZ\
> --password=XYZ\
> --driver com.microsoft.sqlserver.jdbc.SQLServerDriver \
> --table "sqooptest" \
> --split-by "id" \
> --hive-database YYYY\
> --hive-table sqooptest \
> --fields-terminated-by '\t' \
> --lines-terminated-by '\n' \
> --target-dir /user/admin/abc/test/ \
> -- Check-column id \
> -- Last-value 5 \
> -- Incremental append \ 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message