commit
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -23,4 +23,6 @@ sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata" --username root --p | ... | @@ -23,4 +23,6 @@ sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata" --username root --p |
| 23 | sleep 3 | 23 | sleep 3 |
| 24 | sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata" --username root --password zidonghua --table biz_data_response --export-dir /user/hive/warehouse/testdb.db/biz_data_response --input-fields-terminated-by '\t' | 24 | sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata" --username root --password zidonghua --table biz_data_response --export-dir /user/hive/warehouse/testdb.db/biz_data_response --input-fields-terminated-by '\t' |
| 25 | sleep 3 | 25 | sleep 3 |
| 26 | mysql -uroot -pzidonghua -e "truncate bigdata.tc_response;" | ||
| 27 | sleep 3 | ||
| 26 | sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata" --username root --password zidonghua --table tc_response --export-dir /user/hive/warehouse/testdb.db/tc_response --input-fields-terminated-by '\t' | 28 | sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata" --username root --password zidonghua --table tc_response --export-dir /user/hive/warehouse/testdb.db/tc_response --input-fields-terminated-by '\t' | ... | ... |
-
Please register or sign in to post a comment