commit
Showing
1 changed file
with
1 additions
and
1 deletions
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | hadoop fs -rm /input/debug/data/app.out | 2 | hadoop fs -rm /input/debug/data/app.out |
| 3 | hadoop fs -put /home/test/logs/app.out /input/debug/data/app.out | 3 | hadoop fs -put /home/test/logs/app.out /input/debug/data/app.out |
| 4 | hadoop jar ./target/BrBigDataTest-1.0.0.jar com.bigdata.test.ETLApp /input/debug/data/app.out /input/debug/etl/ | 4 | hadoop jar ./target/BrBigDataTest-1.0.0.jar com.bigdata.test.ETLAppDebug /input/debug/data/app.out /input/debug/etl/ |
| 5 | sleep 3 | 5 | sleep 3 |
| 6 | 6 | ||
| 7 | hive -f ./shell_debug/load_data.hql | 7 | hive -f ./shell_debug/load_data.hql | ... | ... |
-
Please register or sign in to post a comment