diff options
author | Matthew Farrellee <matt@redhat.com> | 2014-06-27 18:20:33 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-06-27 18:20:47 -0700 |
commit | 44d70de96732995a282e3dd62978df92b3a7cb10 (patch) | |
tree | 56db189065bcd24b6e206911cb78ecd2902feabe /docs | |
parent | 9013197f8bfc887d6c9945b7c7c61f70b55ab0ea (diff) | |
download | spark-44d70de96732995a282e3dd62978df92b3a7cb10.tar.gz spark-44d70de96732995a282e3dd62978df92b3a7cb10.tar.bz2 spark-44d70de96732995a282e3dd62978df92b3a7cb10.zip |
[SPARK-2003] Fix python SparkContext example
Author: Matthew Farrellee <matt@redhat.com>
Closes #1246 from mattf/SPARK-2003 and squashes the following commits:
b12e7ca [Matthew Farrellee] [SPARK-2003] Fix python SparkContext example
(cherry picked from commit 0e0686d3ef88e024fcceafe36a0cdbb953f5aeae)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/programming-guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/programming-guide.md b/docs/programming-guide.md index 494fd8e0fa..d84055bb22 100644 --- a/docs/programming-guide.md +++ b/docs/programming-guide.md @@ -145,7 +145,7 @@ that contains information about your application. {% highlight python %} conf = SparkConf().setAppName(appName).setMaster(master) -sc = SparkContext(conf) +sc = SparkContext(conf=conf) {% endhighlight %} </div> |