You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by guoxiaolongzte <gi...@git.apache.org> on 2017/09/26 03:11:54 UTC

[GitHub] spark pull request #19346: Spark should provide jump links and add (count) i...

GitHub user guoxiaolongzte opened a pull request:

    https://github.com/apache/spark/pull/19346

    Spark should provide jump links and add (count) in the SQL web ui.

    ## What changes were proposed in this pull request?
    
    propose:
    
    it provide links that jump to Running Queries,Completed Queries and Failed Queries.
    it add (count) about Running Queries,Completed Queries and Failed Queries.
    This is a small optimization in in the SQL web ui.
    
    fix before:
    
    ![1](https://user-images.githubusercontent.com/26266482/30840686-36025cc0-a2ab-11e7-8d8d-1de0122a84fb.png)
    
    
    fix after:
    ![2](https://user-images.githubusercontent.com/26266482/30840723-6cc67a52-a2ab-11e7-8002-9191a55895a6.png)
    
    
    ## How was this patch tested?
    
    manual tests
    
    Please review http://spark.apache.org/contributing.html before opening a pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guoxiaolongzte/spark SPARK-20785

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19346.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19346
    
----
commit 305689f1da70e86838796564cc4c53d80f96a1f2
Author: guoxiaolong <gu...@zte.com.cn>
Date:   2017-09-26T03:05:07Z

    Spark should provide jump links and add (count) in the SQL web ui.

----


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82234/
    Test PASSed.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82225 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82225/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).
     * This patch **fails PySpark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82222/
    Test FAILed.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82234 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82234/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).


---

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


[GitHub] spark pull request #19346: Spark should provide jump links and add (count) i...

Posted by guoxiaolongzte <gi...@git.apache.org>.
Github user guoxiaolongzte closed the pull request at:

    https://github.com/apache/spark/pull/19346


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    retest this please


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141252776
  
    --- 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 am not talking this kind of style. I meant any css style defined for `id=completed-summary`...


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by jerryshao <gi...@git.apache.org>.
Github user jerryshao commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    GLTM. @gatorsmile , would you please take a look at this PR, is it good for you?


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82171 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82171/testReport)** for PR 19346 at commit [`305689f`](https://github.com/apache/spark/commit/305689f1da70e86838796564cc4c53d80f96a1f2).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141251711
  
    --- 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 can't find the style for `completed-summary`. Do we have style for it?


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82224 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82224/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).
     * This patch **fails PySpark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by guoxiaolongzte <gi...@git.apache.org>.
Github user guoxiaolongzte commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141253705
  
    --- 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 understand what you mean. I will delete it. Thank you.


---

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


[GitHub] spark issue #19346: Spark should provide jump links and add (count) in the S...

Posted by guoxiaolongzte <gi...@git.apache.org>.
Github user guoxiaolongzte commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    @HyukjinKwon @jerryshao @ajbozarth 
    In the new PR I fix the indentation problem.
    Thanks.
    
    The latest verification results are as follows:
    ![3](https://user-images.githubusercontent.com/26266482/30840889-57faf5e8-a2ac-11e7-8418-f879a841bc8d.png)
    



---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82222 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82222/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82222 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82222/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).
     * This patch **fails due to an unknown error code, -9**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Merged build finished. Test FAILed.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82225 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82225/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82224/
    Test FAILed.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    LGTM


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Merged build finished. Test FAILed.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by guoxiaolongzte <gi...@git.apache.org>.
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: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #19346: Spark should provide jump links and add (count) in the S...

Posted by jerryshao <gi...@git.apache.org>.
Github user jerryshao commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Please fix the title.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    retest this please.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82224 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82224/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82171/
    Test PASSed.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141246595
  
    --- 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 think `completed-summary` is for ui test on jobs and stages pages. We may no need to use it here if no test for it.


---

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


[GitHub] spark issue #19346: Spark should provide jump links and add (count) in the S...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82171 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82171/testReport)** for PR 19346 at commit [`305689f`](https://github.com/apache/spark/commit/305689f1da70e86838796564cc4c53d80f96a1f2).


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/19346


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by guoxiaolongzte <gi...@git.apache.org>.
Github user guoxiaolongzte commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    retest this please.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141253774
  
    --- 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 --
    
    Simply said, I think we can just write `<li>` instead of `<li id="completed-summary">` at this line.


---

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


[GitHub] spark issue #19346: Spark should provide jump links and add (count) in the S...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Can one of the admins verify this patch?


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by guoxiaolongzte <gi...@git.apache.org>.
Github user guoxiaolongzte commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    @gatorsmile Help to review the code.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #19346: Spark should provide jump links and add (count) in the S...

Posted by jerryshao <gi...@git.apache.org>.
Github user jerryshao commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    ok to test.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    **[Test build #82234 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/82234/testReport)** for PR 19346 at commit [`279e0d2`](https://github.com/apache/spark/commit/279e0d293d3887a259f0b21265f03e113b7f06c1).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by jerryshao <gi...@git.apache.org>.
Github user jerryshao commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    OK, let me merge to master branch.


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Merged build finished. Test FAILed.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141252597
  
    --- 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 meant `id=completed-summary` looks like is basically used for ui test against jobs and stages pages. I can't find we actually defined a style for it. If you don't add a test for it in this execution page, we may not need to add it. 


---

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


[GitHub] spark pull request #19346: Spark should provide jump links and add (count) i...

Posted by guoxiaolongzte <gi...@git.apache.org>.
GitHub user guoxiaolongzte reopened a pull request:

    https://github.com/apache/spark/pull/19346

    Spark should provide jump links and add (count) in the SQL web ui.

    ## What changes were proposed in this pull request?
    
    propose:
    
    it provide links that jump to Running Queries,Completed Queries and Failed Queries.
    it add (count) about Running Queries,Completed Queries and Failed Queries.
    This is a small optimization in in the SQL web ui.
    
    fix before:
    
    ![1](https://user-images.githubusercontent.com/26266482/30840686-36025cc0-a2ab-11e7-8d8d-1de0122a84fb.png)
    
    
    fix after:
    ![2](https://user-images.githubusercontent.com/26266482/30840723-6cc67a52-a2ab-11e7-8002-9191a55895a6.png)
    
    
    ## How was this patch tested?
    
    manual tests
    
    Please review http://spark.apache.org/contributing.html before opening a pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guoxiaolongzte/spark SPARK-20785

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19346.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19346
    
----
commit 305689f1da70e86838796564cc4c53d80f96a1f2
Author: guoxiaolong <gu...@zte.com.cn>
Date:   2017-09-26T03:05:07Z

    Spark should provide jump links and add (count) in the SQL web ui.

----


---

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


[GitHub] spark issue #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide jump lin...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19346
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82225/
    Test FAILed.


---

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


[GitHub] spark pull request #19346: [SAPRK-20785][WEB-UI][SQL] Spark should provide j...

Posted by guoxiaolongzte <gi...@git.apache.org>.
Github user guoxiaolongzte commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141251376
  
    --- 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'm sorry, I do not quite understand what you mean. Here is just show statistics. Let the SQL UI and other UI interface style consistent.
    
    Job ui:
    ![1](https://user-images.githubusercontent.com/26266482/30898443-f4f13c9a-a38d-11e7-8859-26f22ce53667.png)



---

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