[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
spark:spark-introduction [2014/10/03 10:56]
straka
spark:spark-introduction [2014/10/03 12:56]
straka
Line 1: Line 1:
 ====== Spark Introduction ====== ====== Spark Introduction ======
  
-===== Spark Introduction in Python =====+This introduction shows several simple examples to give you an idea what programming in Spark is like. See the official [[http://spark.apache.org/docs/latest/quick-start.html|Quick Start]] or [[http://spark.apache.org/docs/latest/programming-guide.html|Spark Programming Guide]] or [[http://spark.apache.org/docs/latest/api/python/index.html|Python API Reference]]/[[http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.package|Scala API Reference]] for more information. 
 + 
 +===== Running Spark Shell in Python =====
  
 To run interactive Python shell in local Spark mode, run (on your local workstation or on cluster) To run interactive Python shell in local Spark mode, run (on your local workstation or on cluster)
Line 10: Line 12:
   14/10/03 10:54:35 INFO SparkUI: Started SparkUI at http://tauri4.ufal.hide.ms.mff.cuni.cz:4040   14/10/03 10:54:35 INFO SparkUI: Started SparkUI at http://tauri4.ufal.hide.ms.mff.cuni.cz:4040
  
 +==== Running Spark Shell in Scala ====
 +
 +To run interactive Scala shell in local Spark mode, run (on your local workstation or on cluster)
 +  scala-shell
 +Once again, the SparkUI address is listed several lines above the shell prompt line.
  
-===== Spark Introduction in Scala ===== 
  
 +===== Word Count Example =====
 +The central object of Spark is RDD -- resilient distributed dataset. It contains ordered sequence of items.

[ Back to the navigation ] [ Back to the content ]