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:

fix after:

## 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:

---
---------------------------------------------------------------------
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:

2.worker ui:

3.job ui:

4.stage ui:

---
---------------------------------------------------------------------
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:

fix after:

## 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:

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