vagrant plugin update nugrant
vagrant plugin update vagrant-hostmanager
cd ops/application-host
vagrant up
Known problems:
- Re-provision will be failed
cd ops/application-host
vagrant destroy -f
On UNIX-like operating systems, the following Bash shell command will enable the Daemon for the current user:
touch ~/.gradle/gradle.properties && echo "org.gradle.daemon=true" >> ~/.gradle/gradle.properties
Full build
gradle clean build
- Test data located at:
test-data/visit.txt
- Row data foramat :
UUID,UUID,yyyy-MM-dd HH:mm:ss,yyyy-MM-dd HH:mm:ss
We can update test-data/visit.txt
To load test-data/visit.txt
into system:
- Login to application-hos:
cd ops/application-host
vagrant ssh
- run demo provision script in application-host:
sh /application-host/ops/demo-provision.sh
General:
- To get status of application go to Supervisor
- To run data import go to Run import thru Supervisor
- To run data analytic go to Run analytic thru Supervisor
- To start report API go to Run Report API thru Supervisor on slave #1 or Run Report API thru Supervisor on slave #2
- To show report go to Access control Dashboard
- Mater Redis run at localhost:6000
Dashboard:
Application server:
Application slaves:
- Slaves #1
- Supervisor for slaves #1
- Redis Slave #1 commander
- Reporting api instance #1
- Slaves #2
- Supervisor for slaves #2
- Redis Slave #2 commander
- Reporting api instance #2
Workers (Spark workers)
- Worker #1
- Supervisor for Worker #1
- Spark worker #1
- Worker #2
- Supervisor for Worker #2
- Spark worker #2