Skip to content

Instantly share code, notes, and snippets.

@dgadiraju
Created November 13, 2017 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgadiraju/f650497d762a9523c88dd1957d0a5a64 to your computer and use it in GitHub Desktop.
Save dgadiraju/f650497d762a9523c88dd1957d0a5a64 to your computer and use it in GitHub Desktop.
sqoop import \
--connect jdbc:mysql://ms.itversity.com:3306/retail_db \
--username retail_user \
--password itversity \
--table order_items \
--columns order_item_order_id,order_item_id,order_item_subtotal \
--warehouse-dir /user/dgadiraju/sqoop_import/retail_db \
--num-mappers 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment