Github user heuermh commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16856#discussion_r101275374
  
    --- Diff: docs/programming-guide.md ---
    @@ -125,15 +124,12 @@ $ PYSPARK_PYTHON=/opt/pypy-2.5/bin/pypy 
bin/spark-submit examples/src/main/pytho
     
     <div data-lang="scala"  markdown="1">
     
    -The first thing a Spark program must do is to create a 
[SparkContext](api/scala/index.html#org.apache.spark.SparkContext) object, 
which tells Spark
    -how to access a cluster. To create a `SparkContext` you first need to 
build a [SparkConf](api/scala/index.html#org.apache.spark.SparkConf) object
    -that contains information about your application.
    -
    -Only one SparkContext may be active per JVM.  You must `stop()` the active 
SparkContext before creating a new one.
    +The first thing a Spark program must do is to create a 
[SparkSession](api/scala/index.html#org.apache.spark.sql.SparkSession) object, 
which tells Spark
    +how to access a cluster. To create a `SparkSession`, you first need to 
call `SparkSession.builder` to get the builder, then set
    +information about your application via the builder, and finall call 
`getOrCreate` on the builder to get the `SparkSession` instance.
    --- End diff --
    
    `finall` &rarr; `finally`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to