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

    https://github.com/apache/spark/pull/21809#discussion_r221295304
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala ---
    @@ -105,15 +105,30 @@ private[ui] class StagePage(parent: StagesTab, store: 
AppStatusStore) extends We
         val stageAttemptId = parameterAttempt.toInt
     
         val stageHeader = s"Details for Stage $stageId (Attempt 
$stageAttemptId)"
    -    val stageData = parent.store
    -      .asOption(parent.store.stageAttempt(stageId, stageAttemptId, details 
= false))
    -      .getOrElse {
    -        val content =
    -          <div id="no-info">
    -            <p>No information to display for Stage {stageId} (Attempt 
{stageAttemptId})</p>
    -          </div>
    -        return UIUtils.headerSparkPage(request, stageHeader, content, 
parent)
    -      }
    +    var stageDataTuple: Option[Tuple2[StageData, Seq[Int]]] = try {
    --- End diff --
    
    Makes sense, simplified the code and tested it. Looks good. Thank you.


---

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

Reply via email to