Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
spark:spark-introduction [2014/10/06 11:21] straka |
spark:spark-introduction [2014/10/06 11:27] 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> |
- | The IPYTHON=1 parameter instructs Spark to use '' | + | IPYTHON=1 pyspark |
+ | </ | ||
+ | The IPYTHON=1 parameter instructs Spark to use '' | ||
After a local Spark executor is started, the Python shell starts. | After a local Spark executor is started, the Python shell starts. | ||
Line 15: | Line 17: | ||
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 | ||
+ | </ | ||
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. | ||