Guest User

Untitled

a guest
Nov 7th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. sqoop import \
  2. --connect "jdbc:mysql://quickstart.cloudera:3306/retail_db" \
  3. --username retail_dba \
  4. --password cloudera \
  5. --table products_replica \
  6. --target-dir /user/cloudera/problem5/products-text-part1 \
  7. --fields-terminated-by '*' \
  8. --lines-terminated-by '\n' \
  9. --null-non-string -1000 \
  10. --null-string "NA" \
  11. -m 2 \
  12. --where "product_id <= 1111 " \
  13. --outdir /home/cloudera/sqoop2 \
  14. --boundary-query "select min(product_id), max(product_id) from products_replica where product_id <= 1111";
Add Comment
Please, Sign In to add comment