Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.4.0
-
None
-
None
Description
[Reporting on behalf of Abhay Kulkarni]
If the connection of a hive repository is setup incorrectly in such a manner that connect call gets blocked, i.e. does not error out then it quickly leads to a buildup of connect threads inside policy manager. And eventually it stops responding to both the service plugins and to user requests.
The cause of the problem seems to be the incomplete implementation of the deferred/timed execution class. While the problem was reported on Hive it could affect any component. This problem could be fixed at several levels:
- Server could timeout the connection call and then interrupt that thread.
- Server code that opens client connections to various services could in turn change how the critical sections are structured so that this problem does not happen and/or connection attempts don't block if someone else is trying to get a connection, etc.
- For not a fix that could have widest impact should be considered.
Attachments
Attachments
Issue Links
- contains
-
RANGER-272 Make the timeout interval and size of executor used by TimedEventUtil configurable
- Resolved