-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-1405] ConnectionPool for JDBCInterpreter. #1396
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
|
\cc @jongyoul Please review this PR if i misunderstand. |
|
@astroshim It doesn't look completed. When are some connections closed? First of all, there's no code for closing connections. |
|
@jongyoul I will refactor the code to use connection pool. |
|
In this PR or separately? On Saturday, 3 September 2016, HyungSung [email protected] wrote:
이종열, Jongyoul Lee, 李宗烈 |
|
I will do it in this PR and change the title this. :) |
|
Good!! On Saturday, 3 September 2016, HyungSung [email protected] wrote:
이종열, Jongyoul Lee, 李宗烈 |
|
\cc @jongyoul I changed some codes to use |
|
I tested |
|
Thanks! I'll look into it. btw, don't you have any problem when you were testing mysql? |
|
Thanks @jongyoul and there was no problem running mysql. |
|
|
||
| private InterpreterResult executeSql(String propertyKey, String sql, | ||
| InterpreterContext interpreterContext) { | ||
| InterpreterContext interpreterContext) { |
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.
@astroshim It's not recommended. you should change your IDE setting :-)
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.
ah.. okay i will
|
ping |
|
re-trigger CI |
|
re-trigger CI |
|
CI has passed. please review. |
### What is this PR for? This PR is for refactoring code for JDBCInterpreter. There is no putting 'Connection' to 'propertyKeyUnusedConnectionListMap' anywhere in the original code. ### What type of PR is it? Improvement ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1405 ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: astroshim <[email protected]> Closes apache#1396 from astroshim/ZEPPELIN-1405 and squashes the following commits: b07e162 [astroshim] add checking connection is null f6998c2 [astroshim] Merge branch 'master' into ZEPPELIN-1405 1862ae6 [astroshim] Merge branch 'master' into ZEPPELIN-1405 efc2bfc [astroshim] rebase 21217a7 [astroshim] fix indentation. 4d4f85c [astroshim] refactoring code of close() 9f1e368 [astroshim] replace ConnectionPool 4dabbcc [astroshim] wip) changing to use dbcp 12dd7cb [astroshim] remove propertyKeyUnusedConnectionListMap map
What is this PR for?
This PR is for refactoring code for JDBCInterpreter.
There is no putting 'Connection' to 'propertyKeyUnusedConnectionListMap' anywhere in the original code.
What type of PR is it?
Improvement
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1405
Questions: