In this post we discuss about spark installation ubuntu:

Step 1 : Download apache spark

Download Spark-1.6.0 and extract in the required location.

Step 2: Open bashrc and set the spark_home path

To open bashrc type the command in the terminal

$ sudo gedit .bashrc

spark tutorial,spark installation ubuntu

export SPARK_HOME=$HOME/spark-1.6.0

export PATH= $SPARK_HOME/bin

Step 3 : Go to spark/sbin

Open the terminal and enter the following path

$ cd spark-1.6.0/sbin

spark tutorial, spark installation ubuntu

Step 4 : To start all daemons

Type the following commands ./start-all.sh

spark installation ubuntu

Step 5 : Check all the daemons are start or not

Type the jps command in the terminal

spark tutorial, spark installation ubuntu

Step 6 : To open spark-shell

go to spark -> bin

type the command spark-shell

spark tutorial, spark installation ubuntu

spark tutorial, spark installation ubuntu

scala> prompt will appear

spark installation completed.