Pacific-Design.com

    
Home Index

1. Spark

2. Install Spark

Spark / Install Spark /

Spark Data Analytics


#--- Install Spark Binaries ---#
$ http://d3kbcqa49mib13.cloudfront.net/spark-1.3.1-bin-hadoop2.4.tgz
$ tar xzvf spark-1.3.1-bin-hadoop2.4.tgz
$ cd spark-1.3.1-bin-hadoop2.4

#--- Python -------------------#
spark>./bin/pyspark
spark>lines = sc.textFile("README.md")
spark>lines.count()

#--- Scala --------------------#
spark>./bin/spark-shell