You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shashwat Anand (JIRA)" <ji...@apache.org> on 2018/01/20 14:20:00 UTC
[jira] [Created] (SPARK-23164) Documentation error in quick-start
Shashwat Anand created SPARK-23164:
--------------------------------------
Summary: Documentation error in quick-start
Key: SPARK-23164
URL: https://issues.apache.org/jira/browse/SPARK-23164
Project: Spark
Issue Type: Bug
Components: Documentation
Affects Versions: 2.2.1
Reporter: Shashwat Anand
In Apache Spark quick-start [docs|https://spark.apache.org/docs/latest/quick-start.html], in the Self-Contained application section, python example is wrong.
{code:java}
spark = SparkSession.builder().appName(appName).master(master).getOrCreate()
{code}
should be replaced by,
{code:java}
spark = SparkSession.builder.appName("SimpleApp").getOrCreate()
{code}
since Builder object is not callable.
There is a fix in [spark/doc|https://github.com/apache/spark/blob/master/docs/quick-start.md] already which is not reflected on spark website. When I tried to look at the source of [spark-website|https://github.com/apache/spark-website], I assumed anything which is rendered in docs/ section of the site lies in spark and not in spark-website.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org