Configures a virtual machine with a Spark Master and Spark Worker node running for testing TrueSight Pulse Plugin for Spark.
Spark package is installed from the Cloudera apt/yum repositories.
Master and Worker nodes will run automatically at system start-up. If you want to monitor an Application you can run the spark-shell
command that exposes a WebUI on port 4040 to be monitored.
Prior to installation you need to obtain in your Boundary API Token.
- Clone the GitHub Repository:
$ git clone https://github.com/boundary/truesightpulse-vagrant-spark
- Start the virtual machine using your TrueSight Pulse API Token:
$ API_TOKEN=<TrueSight Pulse API Token> vagrant up <virtual machine name>
NOTE: Run vagrant status
to list the name of the virtual machines.
- Login to the virtual machine
$ vagrant ssh <virtual machine name>