diff options
author | Cong Yue <yuecong1104@gmail.com> | 2015-03-24 12:56:13 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-03-24 12:58:58 +0000 |
commit | c12312f8b16bb8f9355d5f9e786c5a608863eb01 (patch) | |
tree | 01e9ce168ebde25732fd0803dc26585d13f8c6b5 /docs | |
parent | 37fac1dcd2b0f2845d2952a417fcf85d40351f57 (diff) | |
download | spark-c12312f8b16bb8f9355d5f9e786c5a608863eb01.tar.gz spark-c12312f8b16bb8f9355d5f9e786c5a608863eb01.tar.bz2 spark-c12312f8b16bb8f9355d5f9e786c5a608863eb01.zip |
Update the command to use IPython notebook
As for "notebook --pylab inline" is not supported any more, update the related documentation for this.
Author: Cong Yue <yuecong1104@gmail.com>
Closes #5111 from yuecong/patch-1 and squashes the following commits:
872df76 [Cong Yue] Update the command to use IPython notebook
Diffstat (limited to 'docs')
-rw-r--r-- | docs/programming-guide.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/programming-guide.md b/docs/programming-guide.md index 5fe832b6fa..f5b775da79 100644 --- a/docs/programming-guide.md +++ b/docs/programming-guide.md @@ -237,9 +237,13 @@ You can customize the `ipython` command by setting `PYSPARK_DRIVER_PYTHON_OPTS`. the [IPython Notebook](http://ipython.org/notebook.html) with PyLab plot support: {% highlight bash %} -$ PYSPARK_DRIVER_PYTHON=ipython PYSPARK_DRIVER_PYTHON_OPTS="notebook --pylab inline" ./bin/pyspark +$ PYSPARK_DRIVER_PYTHON=ipython PYSPARK_DRIVER_PYTHON_OPTS="notebook" ./bin/pyspark {% endhighlight %} +After the IPython Notebook server is launched, you can create a new "Python 2" notebook from +the "Files" tab. Inside the notebook, you can input the command `%pylab inline` as part of +your notebook before you start to try Spark from the IPython notebook. + </div> </div> |