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: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 | + | The IPYTHON=1 parameter instructs Spark to use '' |
- | </ | + | |
- | 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 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 | + | |
- | </ | + | |
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. | ||