I am trying to import RDBMS Oracle table to Hive using Sqoop --hive-import option.The Sqoop importing process went fine but at the end error'd out saying "Failed with exception java.util.ConcurrentModificationException
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask".
When I opened Hive terminal, I could see table created in Hive database, but no records were inserted.
Below is the code:
sqoop import "-Dorg.apache.sqoop.splitter.allow_text_splitter=true" \
--connect <jdbc:oracle:thin:@connectionstring:portno> \
--table tablename --username <username> -password <Password> \
--hive-import \
--hive-table <hivedb.hivetable> \
--split-by <column> \
-m 8
Do I need to set any parameters? Or Hive Internal tables will have such issues.