You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/07/24 07:29:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

Apache Spark reassigned SPARK-21498:
------------------------------------

    Assignee: Apache Spark

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