Professional Documents
Culture Documents
--connect jdbc:mysql://localhost/retail_db \
--username root \
--table categories --m 1
sqoop-import \
--connect jdbc:mysql://localhost/retail_db \
--username root --password cloudera \
--table categories -m 1 \
--where "category_id='50'" \
--target-dir /wherequery;
sqoop import-all-tables \
--connect jdbc:mysql://localhost/retail_db \
--username root --password cloudera \
sqoop list-databases \
--connect jdbc:mysql://localhost/ \
--username root --password cloudera;
sqoop list-tables \
--connect jdbc:mysql://localhost/userdb \
--username root