Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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