ezoic

Tuesday, March 21, 2017

How to check which Linux version is installed and how I installed Spark and run first Example.

How to check which Linux is installed?

Use "cat /etc/issue". I currently have two systems, Ubuntu and Red Hat.





And I tried to install Spark on my Ubuntu linux.


To install Spark, I followed the following instruction:


http://blog.prabeeshk.com/blog/2014/10/31/install-apache-spark-on-ubuntu-14-dot-04/

And I followed it step by step. But on the sbt/sbt assembly step, I got an error:

Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.5.jar

Then I found this solution:

http://stackoverflow.com/questions/31594937/error-invalid-or-corrupt-jarfile-sbt-sbt-launch-0-13-5-jar

And I followed the first solution:

cd spark-1.2.0-bin-hadoop2.4/
./bin/spark-shell
And I ran the example from here:

http://blog.prabeeshk.com/blog/2014/10/31/install-apache-spark-on-ubuntu-14-dot-04/

And I got the following results:










No comments:

Post a Comment

looking for a man

 I am a mid aged woman. I live in southern california.  I was born in 1980. I do not have any kid. no compliacted dating.  I am looking for ...