commit
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -16,8 +16,8 @@ hive -f ./shell/biz_data_response.hql | ... | @@ -16,8 +16,8 @@ hive -f ./shell/biz_data_response.hql |
| 16 | hadoop fs -rm /input/data/$time | 16 | hadoop fs -rm /input/data/$time |
| 17 | rm ../$time | 17 | rm ../$time |
| 18 | 18 | ||
| 19 | sqoop export --connect jdbc:mysql://127.0.0.1:3306/bigdata --username root --password zidonghua --table method_count --export-dir /user/hive/warehouse/testdb.db/method_count --input-fields-terminated-by '\t' | 19 | sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata?useUnicode=true&characterEncoding=utf-8" --username root --password zidonghua --table method_count --export-dir /user/hive/warehouse/testdb.db/method_count --input-fields-terminated-by '\t' |
| 20 | sleep 3 | 20 | sleep 3 |
| 21 | sqoop export --connect jdbc:mysql://127.0.0.1:3306/bigdata --username root --password zidonghua --table biz_data_count --export-dir /user/hive/warehouse/testdb.db/biz_data_count --input-fields-terminated-by '\t' | 21 | sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata?useUnicode=true&characterEncoding=utf-8" --username root --password zidonghua --table biz_data_count --export-dir /user/hive/warehouse/testdb.db/biz_data_count --input-fields-terminated-by '\t' |
| 22 | sleep 3 | 22 | sleep 3 |
| 23 | 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' | 23 | sqoop export --connect "jdbc:mysql://127.0.0.1:3306/bigdata?useUnicode=true&characterEncoding=utf-8" --username root --password zidonghua --table biz_data_response --export-dir /user/hive/warehouse/testdb.db/biz_data_response --input-fields-terminated-by '\t' | ... | ... |
-
Please register or sign in to post a comment