Import a table using lastmodified and --merget-key option in sqoop command in cloudera
We are trying to import a table using lastmodified and --merget-key option in sqoop command in cloudera.
[cloudera@quickstart ~]$ sqoop import --connect jdbc:mysql://localhost/retail_db --table Student --incremental lastmodified --check-column Std_roll --split-by class_id --username root --merge-key --P
But the command is throwing an error like …...
Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
18/11/09 22:42:15 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.13.0
Missing argument for option: merge-key
How to resolve this, Please suggest.