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 2017/07/21 06:59:02 UTC

[jira] [Commented] (SPARK-21498) quick start -> one py demo have some bug in code

    [ https://issues.apache.org/jira/browse/SPARK-21498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16095872#comment-16095872 ] 

Sean Owen commented on SPARK-21498:
-----------------------------------

Agree, that looks more consistent with the other examples.

> 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
>             Fix For: 2.2.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org