[ 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
Previous revision
Next revision Both sides next revision
spark:spark-introduction [2014/10/06 11:25]
straka
spark:spark-introduction [2014/10/06 11:28]
straka
Line 6: Line 6:
  
 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)
-<file bash> +  IPYTHON=1 pyspark 
-IPYTHON=1 pyspark +The IPYTHON=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 our IT if you want it), leave out the ''IPYTHON=1''.
-</file> +
-The IPYTHON=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 it@ufal.mff.cuni.cz if you want it), leave out the ''IPYTHON=1''.+
  
 After a local Spark executor is started, the Python shell starts. After a local Spark executor is started, the Python shell starts.
Line 17: Line 15:
  
 To run interactive Scala shell in local Spark mode, run (on your local workstation or on cluster) To run interactive Scala shell in local Spark mode, run (on your local workstation or on cluster)
-<file bash> +  spark-shell
-spark-shell +
-</file>+
 Once again, the SparkUI address is listed several lines above the shell prompt line. Once again, the SparkUI address is listed several lines above the shell prompt line.
  

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