[
https://issues.apache.org/jira/browse/SPARK-21498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16098027#comment-16098027
]
Apache Spark commented on SPARK-21498:
--------------------------------------
User 'lizhaoch' has created a pull request for this issue:
https://github.com/apache/spark/pull/18722
> quick start -> one py demo have some bug in code
> ---------------------------------------------------
>
> Key: SPARK-21498
> URL: https://issues.apache.org/jira/browse/SPARK-21498
> Project: Spark
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.2.0
> Reporter: LiZhaochuan
> Priority: Trivial
> Labels: beginner
> Attachments: screenshot-1.png
>
>
> http://spark.apache.org/docs/latest/quick-start.html
> Self-Contained Applications:
> spark = SparkSession.builder().appName(appName).master(master).getOrCreate()
> should change to:
> spark = SparkSession.builder.appName("SimpleApp").getOrCreate()
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]