You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/01/08 18:29:00 UTC

[jira] [Resolved] (SPARK-26563) Quick Start documentation provides example that doesn't work (Java)

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

Hyukjin Kwon resolved SPARK-26563.
----------------------------------
    Resolution: Won't Fix

> Quick Start documentation provides example that doesn't work (Java)
> -------------------------------------------------------------------
>
>                 Key: SPARK-26563
>                 URL: https://issues.apache.org/jira/browse/SPARK-26563
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.4.0
>            Reporter: Leonardo Colman Lopes
>            Priority: Minor
>
> In theĀ [Self-Containg Application|https://spark.apache.org/docs/latest/quick-start.html#self-contained-applications] page, the Java application won't work as shown.
> Creating a spark session using
> SparkSession spark = SparkSession.builder().appName("Simple Application").getOrCreate();
> Doesn't work.
> It must be created using
>  SparkSession spark = SparkSession.builder().appName("Simple Application").config("spark.master", "local").getOrCreate();



--
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