dgadiraju
11/4/2017 - 2:56 PM

cca175-problem-06-import.sh

sqoop import-all-tables \
  --connect "jdbc:mysql://quickstart.cloudera:3306/retail_db" \
  --username retail_dba \
  --password cloudera \
  --warehouse-dir /user/hive/warehouse/problem6.db \
  --hive-import \
  --hive-database problem6 \
  --create-hive-table \
  --as-textfile