Install Apache Spark on Ubuntu

Simple steps to run Spark 1.5.2 on Ubuntu 14.04 with Yarn (Hadoop 2.7.1)

Install Hadoop (see

Download pre-build Spark from and unpack, say to /opt/spark/Edit Copy /opt/spark/conf/ to /opt/spark/conf/, edit created and add the following content there:

Edit ~/.bashrc file, add:

That’s all. Restart terminal to load last changes, type spark-shell in command line and enjoy 🙂


Leave a Reply

Your email address will not be published.