Checklist
Ensure all nodes can resolve each other by hostnames/ips
Enable SSH with no need of password
Install JDK on each node
Export JAVA_HOME and SPARK_HOME in ~/.bashrc
on each node
1 | export JAVA_HOME=/home/feihu/jdk1.8.0_171 |
Configure spark-defaults.conf
1 | spark.master spark://codait-gpu2:7077 |
Add data nodes to slaves
Some scripts may be useful in the future (provided by Bryan)
node-install.sh
1 | !/bin/bash |
setup-nodes.sh
1 | "apt-get install -y bzip2" |