Created 02-09-2016 10:18 AM
Have been trying to do incremental import to a hive table using sqoop .. but unfortunately showing as Append mode for hive imports is not yet supported. Please remove the parameter --append-mode
Created 02-09-2016 10:25 AM
Hi @Krishna Srinivas, that's correct. See this for a workaround to do incremental import into a Hive external table by way of HDFS.
Created 02-09-2016 10:25 AM
Hi @Krishna Srinivas, that's correct. See this for a workaround to do incremental import into a Hive external table by way of HDFS.
Created 02-09-2016 12:26 PM
@Predrag Minovic seems fine but we are currently using ORC format of hive tables and for external managed tables is it possible for the same format ?
Created 02-09-2016 10:36 AM
check this link
Was your code like below
sqoop import \
--connect jdbc:mysql://mysql.example.com/sqoop \
--username sqoop \
--password sqoop \
--table visits \
--incremental append \
--check-column id \
--last-value 1
16/03/18 08:16:36 INFO tool.ImportTool: Incremental import complete! ...
16/03/18 08:16:36 INFO tool.ImportTool: --incremental append
16/03/18 08:16:36 INFO tool.ImportTool: --check-column id
16/03/18 08:16:36 INFO tool.ImportTool: --last-value 2
Created 02-09-2016 11:42 AM
@Geoffrey Shelton Okot sqoop import --connect "jdbc:sqlserver://xxxxx:1433;database=xxxxxx;username=xxxxxx;password=xxxxx" --table <table> --hive-import --hive-database <DBname> --incremental append --check-column <name> --last-value 3 -m 1
Created 02-09-2016 11:43 AM