Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-23051][CORE] Fix for broken job description in Spark UI
## What changes were proposed in this pull request? In 2.2, Spark UI displayed the stage description if the job description was not set. This functionality was broken, the GUI has shown no description in this case. In addition, the code uses jobName and jobDescription instead of stageName and stageDescription when JobTableRowData is created. In this PR the logic producing values for the job rows was modified to find the latest stage attempt for the job and use that as a fallback if job description was missing. StageName and stageDescription are also set using values from stage and jobName/description is used only as a fallback. ## How was this patch tested? Manual testing of the UI, using the code in the bug report. Author: Sandor Murakozi <[email protected]> Closes #20251 from smurakozi/SPARK-23051. (cherry picked from commit 60eeecd) Signed-off-by: Sean Owen <[email protected]>
- Loading branch information