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

Spark Master UI Fails to load if application is waiting for workers to launch driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0, 3.1.0
    • Spark Core, Web UI
    • None

    Description

      Steps to Reproduce:

      1. Run Spark Master and 1 Worker (Using local machine).
      2. Submit an (long-running) application using spark-submit command: ./bin/spark-submit --master spark://127.0.0.1:7077  --deploy-mode cluster --class org.apache.spark.examples.SparkPi examples/target/original-spark-examples_2.12-3.1.0-SNAPSHOT.jar
      3. Load Spark Master UI (http://localhost:8080/) which should launch successfully.
      4. Submit one more application using the spark-submit command.
      5. Load Spark Master UI again.

      Expected Behavior: Spark Master UI should launch successfully.

      Actual Behavior: Spark Master UI launch fails with HTTP Error 500 as shown in the below screenshot.

      Attachments

        1. SparkMasterError.png
          534 kB
          Akshat Bordia

        Activity

          People

            akbordia Akshat Bordia
            akbordia Akshat Bordia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: