liuxunorg commented on issue #3374: [ZEPPELIN-3946] Fixed zeppelin hive 
interpreter broken pipe issue
URL: https://github.com/apache/zeppelin/pull/3374#issuecomment-497989224
 
 
   When connecting to a database through a database connection pool, If there 
is no sql operation for a long time, The database connection pool will actively 
close this connection. The connection between the client and the database is 
broken.
   
   So by increasing
   ```
   poolableConnectionFactory.setValidationQuery("show databases");
   ```
   Periodically call the `show databases` statement, Keep the connection to the 
database.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to