Commit cd24068c cd24068c233a17a0f2cc458d47463277e0eadacc by zhanghao

commit

1 parent b9097319
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
1 #!/bin/bash
2 hadoop jar BrBigData-1.0.0.jar com.bigdata.test.ETLApp /input/data/log-2021-04-13.03.log /input/etl/
3 sleep 3
4 hive -f load_data.hql
...\ No newline at end of file ...\ No newline at end of file