Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20251#discussion_r161340604
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala ---
    @@ -65,12 +65,10 @@ private[ui] class AllJobsPage(parent: JobsTab, store: 
AppStatusStore) extends We
         }.map { job =>
           val jobId = job.jobId
           val status = job.status
    -      val displayJobDescription =
    -        if (job.description.isEmpty) {
    -          job.name
    -        } else {
    -          UIUtils.makeDescription(job.description.get, "", plainText = 
true).text
    -        }
    +      val jobDescription = 
store.lastStageAttempt(job.stageIds.max).description
    +      val displayJobDescription = jobDescription
    +          .map(UIUtils.makeDescription(_, "", plainText = true).text)
    --- End diff --
    
    indented too far


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to