commit
Showing
1 changed file
with
3 additions
and
1 deletions
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | mvn clean package -DskipTests | 2 | mvn clean package -DskipTests |
| 3 | hadoop jar ./target/BrBigDataTest-1.0.0.jar com.bigdata.test.ETLApp /input/data/log-2021-04-13.03.log /input/etl/ | 3 | hadoop fs -rm /input/data/$1 |
| 4 | hadoop fs -put ../$1 /input/data/$1 | ||
| 5 | hadoop jar ./target/BrBigDataTest-1.0.0.jar com.bigdata.test.ETLApp /input/data/$1 /input/etl/ | ||
| 4 | sleep 3 | 6 | sleep 3 |
| 5 | hive -f ./shell/load_data.hql | 7 | hive -f ./shell/load_data.hql |
| 6 | total=$(hive -f ./shell/select.hql) | 8 | total=$(hive -f ./shell/select.hql) | ... | ... |
-
Please register or sign in to post a comment