Commit e7b42211 e7b422113dbef51d3414bbffb6fd5d91c5f8bb99 by 张浩

commit

1 parent 5ac87f19
......@@ -16,8 +16,8 @@ hive -f ./shell/biz_data_response.hql
hadoop fs -rm /input/data/$time
rm ../$time
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'
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'
sleep 3
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'
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'
sleep 3
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'
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'
......