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

Add helpful warnings to the UI

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.1.0
    • None
    • Web UI
    • None

    Description

      Spark has a zillion configuration options and a zillion different things that can go wrong with a job. Improvements like incremental and better metrics and the proposed spark replay debugger provide more insight into what's going on under the covers. However, it's difficult for non-advanced users to synthesize this information and understand where to direct their attention. It would be helpful to have some sort of central location on the UI users could go to that would provide indications about why an app/job is failing or performing poorly.

      Some helpful messages that we could provide:

      • Warn that the tasks in a particular stage are spending a long time in GC.
      • Warn that spark.shuffle.memoryFraction does not fit inside the young generation.
      • Warn that tasks in a particular stage are very short, and that the number of partitions should probably be decreased.
      • Warn that tasks in a particular stage are spilling a lot, and that the number of partitions should probably be increased.
      • Warn that a cached RDD that gets a lot of use does not fit in memory, and a lot of time is being spent recomputing it.

      To start, probably two kinds of warnings would be most helpful.

      • Warnings at the app level that report on misconfigurations, issues with the general health of executors.
      • Warnings at the job level that indicate why a job might be performing slowly.

      Attachments

        1. SPARK-3682Design.pdf
          86 kB
          Sandy Ryza

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sandyr Sandy Ryza
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: