Github user sudheeshkatkam commented on the issue: https://github.com/apache/drill/pull/543 Yes, we leak connections. There is a fix in Hive for [closing before reconnecting](https://github.com/apache/hive/commit/8fb805225c9d6960c7d39d862de6b3326650551c), but that is in a later version. Also, there is another leak. The [HiveStoragePlugin](https://github.com/apache/drill/blob/master/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveStoragePlugin.java) does not close connections (in HiveSchemaRegistry) when close is invoked. This should be done in an overridden close method.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---