Github user zellerh commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/405#discussion_r57938814
--- Diff: core/sql/cli/CliExtern.cpp ---
@@ -6316,7 +6316,8 @@ Lng32 SQL_EXEC_DeleteHbaseJNI()
threadContext->incrNumOfCliCalls();
HBaseClient_JNI::deleteInstance();
- HiveClient_JNI::deleteInstance();
+ // The Hive client persists across connections
+ // HiveClient_JNI::deleteInstance();
--- End diff --
Sorry, I added a couple of comments to the JIRA, TRAFODION-1910
(https://issues.apache.org/jira/browse/TRAFODION-1910), should have added them
here.
Let me try to summarize: The comments I made try to explain that we _could_
treat HiveClient_JNI and HBaseClient_JNI differently. Suresh is asking why we
_should_ do that.
So, I think what you are telling me is that I should write a new fix that
treats the two objects in a similar way. Hope to have that ready soon. Thanks
for your input.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---