Skip to content

Instantly share code, notes, and snippets.

@joshjdevl
Created January 13, 2015 02:20
Show Gist options
  • Select an option

  • Save joshjdevl/e75703a1f279d511268c to your computer and use it in GitHub Desktop.

Select an option

Save joshjdevl/e75703a1f279d511268c to your computer and use it in GitHub Desktop.
spark cluster
echo "0.0.0.0 master" >> /etc/hosts
echo "192.168.59.103 zk" >> /etc/hosts
echo "192.168.59.103 postgres" >> /etc/hosts
cd /usr/local/spark
./sbin/start-master.sh
cd /usr/local/spark
./bin/spark-class org.apache.spark.deploy.worker.Worker spark://IP:PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment