-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-28901][SQL] SparkThriftServer's Cancel SQL Operation show it in JDBC Tab UI #25611
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b84d385
[SPARK-28901] Support cancel SQL operation.
AngersZhuuuu 07d5679
commit code
AngersZhuuuu 187a4a6
the same as other ethod
AngersZhuuuu 44ba723
fix conflict between cancel and close status
AngersZhuuuu e8f902e
use old cancel method, a little mistake of code
AngersZhuuuu d4d1943
fix call cancel before run execut()
AngersZhuuuu 7d77b0c
remove dunplicated code
AngersZhuuuu 72b885d
fix throw exception
AngersZhuuuu d2d6cc5
close before cancel or finish, also reduce totalRunning
AngersZhuuuu 4c9d5f1
fix other operation
AngersZhuuuu 7b43b59
fix conflicts between cancel and finish
AngersZhuuuu 3744fc9
move try block to satrt of execute(0
AngersZhuuuu 5070161
fix scala style
AngersZhuuuu 41ab7d7
fix code style
AngersZhuuuu 87fa08f
fix error
AngersZhuuuu 63e8b59
remove PREPARED
AngersZhuuuu bea260a
remove empty line
AngersZhuuuu 7e56c14
fix scala style
AngersZhuuuu 8b25006
remove sync operation judge terminal
AngersZhuuuu ccd7de9
add empty line
AngersZhuuuu c6651f1
revert
AngersZhuuuu 00f3553
save code
AngersZhuuuu 8b84e04
fix scala style and concurence problem
AngersZhuuuu ff5ac96
clear job group in same thread
AngersZhuuuu 28174bd
remove all the totalRunning and onlineSessionNum vars
AngersZhuuuu 1cbf7cc
add onStatementError for background case
AngersZhuuuu 61c9c73
fix code style
AngersZhuuuu f720963
to do all the initialization bookkeeping first.
AngersZhuuuu c8d2ffc
fixlog
AngersZhuuuu 536756b
code style fix
AngersZhuuuu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
to do all the initialization bookkeeping first.
- Loading branch information
commit f720963fded77661ad2bb912b2dc78ca1afe03f0
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could you add
logInfo(s"Submitting query '$statement' with $statementId")here?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.
done
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.
ocd formatting nit: move
setHasResultSet(true)below statementid, logInfo and onStatementStart, to do all the initialization bookkeeping first.