Advertisement
Guest User

Untitled

a guest
Jun 18th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. sqoop import-all-tables \
  2. --connect "jdbc:mysql://quickstart.cloudera:3306/retail_db" \
  3. --username retail_dba \
  4. --password cloudera \
  5. --warehouse-dir /user/hive/warehouse/retail_stage.db \
  6. --compress \
  7. --compression-codec snappy \
  8. --as-avrodatafile
  9. -m 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement