-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-5100][SQL]add webui for thriftserver #5730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #31097 has started for PR 5730 at commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
totalExecution?
|
Test build #31097 has finished for PR 5730 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Append () to the method name since it causes side effect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
|
Sorry for not following the previous comments but could you tell the difference between this tab and Thrift Server's driver UI? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe onStatementCompiled? Also, executePlan should be executionPlan.
|
@WangTaoTheTonic , the Thrift Server's driver UI you mentioned is a universal UI for all kinds of work on spark, and mainly focus on jobs, stages and tasks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import order is wrong here.
|
This generally looks good, left some comments, most are about styling issues. @JoshRosen Would you mind to double check the web UI changes? This should be generally the same as #3946. Thanks! @tianyi will add Selenium based test cases later. |
|
Test build #31128 has started for PR 5730 at commit |
|
@JoshRosen I just add some tests for thrift server UI. But I'm not sure if I need to add test cases for all the feature. Any suggestion? |
|
Test build #31129 has started for PR 5730 at commit |
|
Test build #31128 has finished for PR 5730 at commit
|
|
Test build #31129 has finished for PR 5730 at commit
|
|
Test build #31132 has started for PR 5730 at commit |
|
Test build #31132 has finished for PR 5730 at commit
|
|
Merged build triggered. |
|
Merged build started. |
|
Test build #31254 has started for PR 5730 at commit |
|
Test build #31254 has finished for PR 5730 at commit
|
|
Merged build finished. Test FAILed. |
|
Test FAILed. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #31256 has started for PR 5730 at commit |
|
Test build #31256 has finished for PR 5730 at commit
|
|
Merged build finished. Test PASSed. |
|
Test PASSed. |
|
@liancheng The test codes and is ready to review. |
|
LGTM, merging to master. Thanks for working on this! |
|
The test added here is really noisy: Can you submit a followup to quiet it down? |
|
OK, I will work on it. |
This PR is a rebased version of apache#3946 , and mainly focused on creating an independent tab for the thrift server in spark web UI. Features: 1. Session related statistics ( username and IP are only supported in hive-0.13.1 ) 2. List all the SQL executing or executed on this server 3. Provide links to the job generated by SQL 4. Provide link to show all SQL executing or executed in a specified session Prototype snapshots: This is the main page for thrift server  Author: tianyi <tianyi.asiainfo@gmail.com> Closes apache#5730 from tianyi/SPARK-5100 and squashes the following commits: cfd14c7 [tianyi] style fix 0efe3d5 [tianyi] revert part of pom change c0f2fa0 [tianyi] extends HiveThriftJdbcTest to start/stop thriftserver for UI test aa20408 [tianyi] fix style problem c9df6f9 [tianyi] add testsuite for thriftserver ui and fix some style issue 9830199 [tianyi] add webui for thriftserver
This PR is a rebased version of apache#3946 , and mainly focused on creating an independent tab for the thrift server in spark web UI. Features: 1. Session related statistics ( username and IP are only supported in hive-0.13.1 ) 2. List all the SQL executing or executed on this server 3. Provide links to the job generated by SQL 4. Provide link to show all SQL executing or executed in a specified session Prototype snapshots: This is the main page for thrift server  Author: tianyi <tianyi.asiainfo@gmail.com> Closes apache#5730 from tianyi/SPARK-5100 and squashes the following commits: cfd14c7 [tianyi] style fix 0efe3d5 [tianyi] revert part of pom change c0f2fa0 [tianyi] extends HiveThriftJdbcTest to start/stop thriftserver for UI test aa20408 [tianyi] fix style problem c9df6f9 [tianyi] add testsuite for thriftserver ui and fix some style issue 9830199 [tianyi] add webui for thriftserver
This PR is a rebased version of apache#3946 , and mainly focused on creating an independent tab for the thrift server in spark web UI. Features: 1. Session related statistics ( username and IP are only supported in hive-0.13.1 ) 2. List all the SQL executing or executed on this server 3. Provide links to the job generated by SQL 4. Provide link to show all SQL executing or executed in a specified session Prototype snapshots: This is the main page for thrift server  Author: tianyi <tianyi.asiainfo@gmail.com> Closes apache#5730 from tianyi/SPARK-5100 and squashes the following commits: cfd14c7 [tianyi] style fix 0efe3d5 [tianyi] revert part of pom change c0f2fa0 [tianyi] extends HiveThriftJdbcTest to start/stop thriftserver for UI test aa20408 [tianyi] fix style problem c9df6f9 [tianyi] add testsuite for thriftserver ui and fix some style issue 9830199 [tianyi] add webui for thriftserver
This PR is a rebased version of #3946 , and mainly focused on creating an independent tab for the thrift server in spark web UI.
Features:
Prototype snapshots:
This is the main page for thrift server