[ZEPPELIN-1246] In JDBCInterpreter.getScheduler, use getMaxConcurrentConnection instead of hardcoding maxConcurrency to 10#1240
Conversation
|
Could you please rebase it? it would be fixed yesterday. |
…ad of hardcoding maxConcurrency to 10
4b2990f to
62affdf
Compare
|
I rebased my branch of latest master and pushed it to origin, closed and reopened pull request but the travis build hasn't started. What is the reason for that? |
Latest build failing with:T E S T SRunning org.apache.zeppelin.scheduler.ParallelSchedulerTest @jongyoul @Leemoonsoo @bzz - is this a known issue? |
|
That error is handling with #1261 |
|
I got the latest master with #1261 Two checks in the last build failed. I am going to close and reopen PR to restart build. https://travis-ci.org/apache/zeppelin/jobs/149535134 Failed tests: :28: error: not found: value a https://travis-ci.org/apache/zeppelin/jobs/149535133 java.lang.NullPointerException No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself. The build has been terminated |
|
@prasadwagle Thanks for fighting the CI. We're also struggling against CI flaky or failed tests |
|
@Leemoonsoo @bzz @jongyoul The build is finally green! Is it ok to merge this change? |
|
Looks great to me! Thank you @prasadwagle for patience and taking extra care. Merging to master, if there is no further discussion. |
What is this PR for?
In JDBCInterpreter.getScheduler, use getMaxConcurrentConnection instead of hardcoding maxConcurrency to 10
What type of PR is it?
Improvement
Todos
What is the Jira issue?
ZEPPELIN-1246
How should this be tested?
Set zeppelin.jdbc.concurrent.max_connection to 2 and verify after starting two long-running queries, a third query is pending.
Screenshots (if appropriate)
Questions:
No
No
No