Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
74
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-part2 \
  7. --fields-terminated-by '*' \
  8. --lines-terminated-by '\n' \
  9. --null-non-string -1000 \
  10. --null-string "NA" \
  11. -m 5 \
  12. --where "product_id > 1111 " \
  13. --outdir /home/cloudera/sqoop3 \
  14. --boundary-query "select min(product_id), max(product_id) from products_replica where product_id > 1111"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement