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
cd24068c
...
cd24068c233a17a0f2cc458d47463277e0eadacc
authored
2021-04-19 15:50:04 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
b9097319
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
run.sh
shell/run.sh
run.sh
0 → 100755
View file @
cd24068
#!/bin/bash
mvn clean package -DskipTests
hadoop jar ./target/BrBigData-1.0.0.jar com.bigdata.test.ETLApp /input/data/log-2021-04-13.03.log /input/etl/
sleep 3
hive -f ./shell/load_data.hql
total
=
$(
hive -f ./shell/select.hql
)
result
=
$(
echo
$total
| tr
" "
","
)
curl http://192.168.8.113:9090/tool/hadoopTotal?total
=
${
result
}
\ No newline at end of file
shell/run.sh
deleted
100755 → 0
View file @
b909731
#!/bin/bash
hadoop jar BrBigData-1.0.0.jar com.bigdata.test.ETLApp /input/data/log-2021-04-13.03.log /input/etl/
sleep 3
hive -f load_data.hql
\ No newline at end of file
Please
register
or
sign in
to post a comment