Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@milindjagre
Created April 5, 2017 20:27
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 milindjagre/f0f083d5d695ace55075dd36362cad33 to your computer and use it in GitHub Desktop.
Save milindjagre/f0f083d5d695ace55075dd36362cad33 to your computer and use it in GitHub Desktop.
this file is used for importing records from mysql table into hive table
sqoop import \
--connect jdbc:mysql://sandbox.hortonworks.com:3306/retail_db \
--username retail_dba \
--password hadoop \
--hive-import \
--table customers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment