Skip to content

Commit e3cffe4

Browse files
Import all tables for fixing the bug and HDPCD
1 parent 7389328 commit e3cffe4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hadoop/edw/hdp/sqoop/sqoop_demo.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ sqoop eval \
1515
--query "select count(1) from order_items"
1616

1717
-- Reference: http://www.hadoop.com/content/hadoop/en/developers/home/developer-admin-resources/get-started-with-hadoop-tutorial/exercise-1.html
18+
19+
sqoop import-all-tables \
20+
--connect "jdbc:mysql://cdh54itversity-mn0.southeastasia.cloudapp.azure.com:3306/retail_db" \
21+
--username retail_dba \
22+
--password itversity \
23+
--warehouse-dir /user/itversity/dgadiraju/import-all-tables \
24+
--driver com.mysql.jdbc.Driver
25+
1826
sqoop import-all-tables \
1927
-m 12 \
2028
--connect "jdbc:mysql://sandbox.hortonworks.com:3306/retail_db" \

0 commit comments

Comments
 (0)