[ 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

Next revision Both sides next revision
spark:spark-introduction [2014/10/03 10:22]
straka created
spark:spark-introduction [2014/10/03 10:56]
straka
Line 2: Line 2:
  
 ===== Spark Introduction in Python ===== ===== Spark Introduction in Python =====
 +
 +To run interactive Python shell in local Spark mode, run (on your local workstation or on cluster)
 +  IPYSPARK=1 pyspark
 +The IPYSPARK=1 parameter instructs Spark to use ''ipython'' instead of ''python'' (the ''ipython'' is an enhanced interactive shell than Python). If you do not want ''ipython'' or you do not have it installed (it is installed everywhere on the cluster, but maybe not on your local workstations -- ask Milan if you want it), leave out the ''IPYSPARK=1''.
 +
 +After a local Spark executor is started, the Python shell starts.
 +  14/10/03 10:54:35 INFO SparkUI: Started SparkUI at http://tauri4.ufal.hide.ms.mff.cuni.cz:4040
 +
  
 ===== Spark Introduction in Scala ===== ===== Spark Introduction in Scala =====
  

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