-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
38 lines (38 loc) · 850 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ****************************************************
# -- Run this script to build and run analytic --
# ****************************************************
#
#
# give execution privileges to everybody for shell scripts
chmod +x run.sh
chmod +x ./**/*.sh
#
#
# data ingest
echo ""
echo "******************** DATA INGEST ********************"
echo ""
# *** ONLY NEEDS TO BE RUN ONCE ***
# ./data_ingest/set_permissions.sh
./data_ingest/upload_raw_data_to_hdfs.sh
#
#
# profiling
echo ""
echo "******************** PROFILING ********************"
echo ""
./profiling_code/profiling.sh
#
# etl
echo ""
echo "******************** ETL ********************"
echo ""
./etl_code/etl.sh
#
#
# analysis
echo ""
echo "******************** ANALYSIS ********************"
echo ""
./ana_code/ana.sh
echo "******************** FINISHED :D ********************"