Posts

Showing posts from June, 2015

Install Apache Spark on Ubuntu

Its been long time since I have written a blog. Meanwhile i was exploring the work of Apache spark. so i thought i will share my knowledge on how to Install spark on Ubuntu.     As usual I am going to share commands for both Ubuntu and Lubuntu. Both are very similar. First of all we have to make sure that we have java installed on our machine. I am using java 7 for spark. If you already have java installed on your machine, then you don't need to run following command. If you do not have java installed on your machine, then run following command to install java 7.        sudo apt-get install openjdk-7-jdk This will install jdk 7 on your machine. if you do not know which version of java is already installed, use following command       java -version. if you have multiple versions of java and want to change the default version. then use following command and select specific version.      sudo update-alternatives --config java After installing java, we have to make sure t