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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to