Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
BrBigDataTest
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
e7b42211
...
e7b422113dbef51d3414bbffb6fd5d91c5f8bb99
authored
2022-01-14 16:29:27 +0800
by
张浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
5ac87f19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
run_linux.sh
run_linux.sh
View file @
e7b4221
...
...
@@ -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'
...
...
Please
register
or
sign in
to post a comment