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

    https://github.com/apache/spark/pull/19346#discussion_r141252540
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
 ---
    @@ -61,7 +61,36 @@ private[ui] class AllExecutionsPage(parent: SQLTab) 
extends WebUIPage("") with L
               
details.parentNode.querySelector('.stage-details').classList.toggle('collapsed')
             }}
           </script>
    -    UIUtils.headerSparkPage("SQL", content, parent, Some(5000))
    +    val summary: NodeSeq =
    +      <div>
    +        <ul class="unstyled">
    +          {
    +            if (listener.getRunningExecutions.nonEmpty) {
    +              <li>
    +                <a href="#running-execution-table"><strong>Running 
Queries:</strong></a>
    +                {listener.getRunningExecutions.size}
    +              </li>
    +            }
    +          }
    +          {
    +            if (listener.getCompletedExecutions.nonEmpty) {
    +              <li id="completed-summary">
    --- End diff --
    
    I said the style is to show how much.
    
    1.master ui:
    
![1](https://user-images.githubusercontent.com/26266482/30898687-25452766-a38f-11e7-97da-4fa1fef93dcf.png)
    
    2.worker ui:
    
![2](https://user-images.githubusercontent.com/26266482/30898694-2c9bde74-a38f-11e7-831a-9b2ba81555d4.png)
    
    3.job ui:
    
![4](https://user-images.githubusercontent.com/26266482/30898701-387e1c0c-a38f-11e7-905e-f5e391eb9d90.png)
    
    4.stage ui:
    
![3](https://user-images.githubusercontent.com/26266482/30898709-3fbec084-a38f-11e7-9661-7677f6b7d82b.png)
    



---

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

Reply via email to