https://github.com/apache/spark
Revision 9051e1a265dc0f1dc19fd27a0127ffa47f3ac245 authored by Sandor Murakozi on 14 January 2018, 14:32:35 UTC, committed by Sean Owen on 14 January 2018, 14:32:43 UTC
## 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 <smurakozi@gmail.com>

Closes #20251 from smurakozi/SPARK-23051.

(cherry picked from commit 60eeecd7760aee6ce2fd207c83ae40054eadaf83)
Signed-off-by: Sean Owen <sowen@cloudera.com>
1 parent 5fbbd94
History
Tip revision: 9051e1a265dc0f1dc19fd27a0127ffa47f3ac245 authored by Sandor Murakozi on 14 January 2018, 14:32:35 UTC
[SPARK-23051][CORE] Fix for broken job description in Spark UI
Tip revision: 9051e1a

README.md

back to top