Created
April 5, 2017 20:27
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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