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

    https://github.com/apache/spark/pull/19920#discussion_r155708779
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala ---
    @@ -88,4 +90,8 @@ private[history] class HistoryPage(parent: HistoryServer) 
extends WebUIPage("")
       private def makePageLink(showIncomplete: Boolean): String = {
         UIUtils.prependBaseUri("/?" + "showIncomplete=" + showIncomplete)
       }
    +
    +  private def isApplicationCompleted(appInfo: ApplicationInfo): Boolean = {
    --- End diff --
    
    The function `isApplicationCompleted` is defined 3 times in this patch.
    I suggest adding a method `isCompleted` in class `ApplicationInfo`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to