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

App Name is a randomUUID even when "spark.app.name" exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1, 2.1.0
    • Spark Core
    • None

    Description

      When submitting an application with "--name":

      ./bin/spark-submit --name myApplicationTest --verbose --executor-cores 3 --num-executors 1 --master yarn --deploy-mode client --class org.apache.spark.examples.SparkKMeans examples/target/original-spark-examples_2.11-2.1.0-SNAPSHOT.jar hdfs://localhost:9000/lr_big.txt 2 5

      In the history server UI:
      App ID: application_1470694797714_0016
      App Name: 70c06dc5-1b99-4b4a-a826-ea27497e977b

      The App Name should not be a randomUUID "70c06dc5-1b99-4b4a-a826-ea27497e977b" since the "spark.app.name" was myApplicationTest.

      The application "org.apache.spark.examples.SparkKMeans" above did not invoke ".appName()".

      Attachments

        Issue Links

          Activity

            People

              srowen Sean R. Owen
              WeiqingYang Weiqing Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: