You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2018/01/20 14:30:00 UTC

[jira] [Resolved] (SPARK-23164) Documentation error in quick-start

     [ https://issues.apache.org/jira/browse/SPARK-23164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-23164.
-------------------------------
    Resolution: Not A Problem

Please read [http://spark.apache.org/contributing.html]

(This is not a major bug)

It is already fixed, as you say. It would go out with the next release. spark-website has non-release specific elements of the site.

> 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
>            Priority: Major
>
> 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