GitHub user oxygen311 opened a pull request:
https://github.com/apache/zeppelin/pull/3139
[ZEPPELIN-3712] Add `maxConnLifetime` parameter to JDBC Interpreter
### What is this PR for?
This parameter is necessary in that case:
1) Zeppelin open connection and keep it in pool;
2) Database close this connection after some time of inactivity;
3) User get an error and necessity to restart interpreter.
The default value of this parameter is `-1` which means the connection has
an infinite lifetime.
### What type of PR is it?
Improvement
### What is the Jira issue?
[ZEPPELIN-3712](https://issues.apache.org/jira/browse/ZEPPELIN-3712)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/TinkoffCreditSystems/zeppelin DW-17882
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/3139.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 #3139
----
commit ca3734dc775b3850e2c74792b90f6e222f06c1d8
Author: oxygen311 <alex39-09@...>
Date: 2018-08-14T11:39:14Z
Add `maxConnLifetime` property
----
---