Github user smurakozi commented on a diff in the pull request: https://github.com/apache/spark/pull/20330#discussion_r162792383 --- Diff: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala --- @@ -1002,4 +1000,12 @@ private object ApiHelper { } } + def lastStageNameAndDescription(store: AppStatusStore, job: JobData): (String, String) = { + store.asOption(store.lastStageAttempt(job.stageIds.max)) match { + case Some(lastStageAttempt) => + (lastStageAttempt.name, lastStageAttempt.description.getOrElse(job.name)) + case None => ("", "") --- End diff -- Fixed, thanks for catching.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org