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

    https://github.com/apache/spark/pull/15991#discussion_r89786503
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala ---
    @@ -33,21 +33,40 @@ private[history] class HistoryPage(parent: 
HistoryServer) extends WebUIPage("")
           .filter(_.completed != requestedIncomplete)
         val allAppsSize = allApps.size
     
    +    val eventLogsUnderProcessCount = parent.getEventLogsUnderProcess()
    +    val lastUpdatedTime = parent.getLastUpdatedTime()
         val providerConfig = parent.getProviderConfig()
         val content =
    +      <script 
src={UIUtils.prependBaseUri("/static/historypage-common.js")}></script>
           <div>
               <div class="span12">
                 <ul class="unstyled">
                   {providerConfig.map { case (k, v) => 
<li><strong>{k}:</strong> {v}</li> }}
                 </ul>
                 {
    +            if (eventLogsUnderProcessCount > 0) {
    +              <p>There are {eventLogsUnderProcessCount} event log(s) 
currently being
    +                processed which may result in additional applications 
getting listed on this page.
    +                Refresh the page to view updates. </p>
    +            }
    +            }
    +
    +            {
    +            if (lastUpdatedTime > 0) {
    +              <p>Last updated: <span 
id="last-updated">{lastUpdatedTime}</span></p>
    --- End diff --
    
    I see —thanks. That's all I was worried about.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to