commit
Showing
2 changed files
with
8 additions
and
4 deletions
run.sh
0 → 100755
| 1 | #!/bin/bash | ||
| 2 | mvn clean package -DskipTests | ||
| 3 | hadoop jar ./target/BrBigData-1.0.0.jar com.bigdata.test.ETLApp /input/data/log-2021-04-13.03.log /input/etl/ | ||
| 4 | sleep 3 | ||
| 5 | hive -f ./shell/load_data.hql | ||
| 6 | total=$(hive -f ./shell/select.hql) | ||
| 7 | result=$(echo $total | tr " " ",") | ||
| 8 | curl http://192.168.8.113:9090/tool/hadoopTotal?total=${result} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
shell/run.sh
deleted
100755 → 0
-
Please register or sign in to post a comment