Arup Malakar created HCATALOG-469:
-------------------------------------
Summary: HiveClientCache may return a closed client
Key: HCATALOG-469
URL: https://issues.apache.org/jira/browse/HCATALOG-469
Project: HCatalog
Issue Type: Bug
Affects Versions: 0.4, 0.5
Reporter: Arup Malakar
Assignee: Arup Malakar
HiveClientCache does a health check before returning the client. During the
health check the client may get closed via the RemovalListener if
1) No one is else is using it
2) It is beyond expiry time for the client
3) Another thread access the case which may trigger the RemovalListener
In this case the get() call would end up returning a closed client.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira