Skip to content

Commit 1995417

Browse files
araysrowen
authored andcommitted
[SPARK-20769][DOC] Incorrect documentation for using Jupyter notebook
## What changes were proposed in this pull request? SPARK-13973 incorrectly removed the required PYSPARK_DRIVER_PYTHON_OPTS=notebook from documentation to use pyspark with Jupyter notebook. This patch corrects the documentation error. ## How was this patch tested? Tested invocation locally with ```bash PYSPARK_DRIVER_PYTHON=jupyter PYSPARK_DRIVER_PYTHON_OPTS=notebook ./bin/pyspark ``` Author: Andrew Ray <ray.andrew@gmail.com> Closes #18001 from aray/patch-1.
1 parent 30e0557 commit 1995417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rdd-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ $ PYSPARK_DRIVER_PYTHON=ipython ./bin/pyspark
247247
To use the Jupyter notebook (previously known as the IPython notebook),
248248

249249
{% highlight bash %}
250-
$ PYSPARK_DRIVER_PYTHON=jupyter ./bin/pyspark
250+
$ PYSPARK_DRIVER_PYTHON=jupyter PYSPARK_DRIVER_PYTHON_OPTS=notebook ./bin/pyspark
251251
{% endhighlight %}
252252

253253
You can customize the `ipython` or `jupyter` commands by setting `PYSPARK_DRIVER_PYTHON_OPTS`.

0 commit comments

Comments
 (0)