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
e0fdf4c9
...
e0fdf4c944ddcea2bcf2b25ce5ee02e931067e0f
authored
2021-04-20 10:56:39 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
4d13eaf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
run.sh
run.sh
View file @
e0fdf4c
#!/bin/bash
mvn clean package -DskipTests
hadoop jar ./target/BrBigDataTest-1.0.0.jar com.bigdata.test.ETLApp /input/data/log-2021-04-13.03.log /input/etl/
hadoop fs -rm /input/data/
$1
hadoop fs -put ../
$1
/input/data/
$1
hadoop jar ./target/BrBigDataTest-1.0.0.jar com.bigdata.test.ETLApp /input/data/
$1
/input/etl/
sleep 3
hive -f ./shell/load_data.hql
total
=
$(
hive -f ./shell/select.hql
)
...
...
Please
register
or
sign in
to post a comment