You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "sai dhiraj v (JIRA)" <ji...@apache.org> on 2015/02/09 10:27:34 UTC

[jira] [Created] (SQOOP-2091) I am unable to perform incremental imports to hdfs/hive

sai dhiraj v created SQOOP-2091:
-----------------------------------

             Summary: 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)