Description
During my usage of HiveMetaStoreClient for testing, I found that this class is not AutoCloseable. Adding this change to support
try(HiveMetaStoreClient hmsClient = HiveEnv.createHMSClient()) {
...
...
...
...
}
So we don't have to manually close it in finally block.