Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21498

quick start -> one py demo have some bug in code

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: Examples
    • Labels:
    • Docs Text:
      Hide

      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()
      Show
      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()

      Description

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

        Attachments

        1. screenshot-1.png
          70 kB
          LiZhaochuan

          Activity

            People

            • Assignee:
              lizhaoch LiZhaochuan
              Reporter:
              lizhaoch LiZhaochuan
              Shepherd:
              -
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: