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

Allow --name option in pyspark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.1, 1.5.0
    • 1.5.0
    • PySpark
    • None

    Description

      Currently, the app name is hardcoded in pyspark as "PySparkShell", and the app name cannot be changed.

      SPARK-8650 fixed this issue for spark-sql.

      SPARK-9180 introduced a new option --name for spark-shell.

      sparkR is different because SparkContext is not automatically constructed in sparkR, and the app name can be set when initializing SparkContext.

      In summary-

      shell able to set app name
      pyspark no
      spark-shell yes via --name
      spark-sql yes via --conf spark.app.name
      sparkR n/a

      Attachments

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: