sqoop import \
--connect jdbc:mysql://localhost/training \
--username root --password password \
--table emp -m 1\
--target-dir /user/ubh01/input1
------------------------------------------------------
sqoop import -–connect jdbc:mysql://localhost/root \
-–username root --password password \
-–table emp \
-–hive-import \
–-hive-table training.emp -m 1
-------------------------------------------------
sqoop import-all-tables --connect jdbc:mysql://localhost/training \
--username root --password password -m 1 \
--warehouse-dir /user/ubh01/output3
sqoop export --connect jdbc:mysql://localhost/training \
--username root --password password \
--table emp --m 1 --export-dir /input1
sqoop list-databases --connect jdbc:mysql://localhost/ --username root --password
password
sqoop list-tables --connect jdbc:mysql://localhost/training --username root --
password password