spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Colman Lopes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-26563) Quick Start documentation provides example that doesn't work (Java)
Date Mon, 07 Jan 2019 21:14:00 GMT
Leonardo Colman Lopes created SPARK-26563:
---------------------------------------------

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


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


Mime
View raw message