Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-265

If Hive repository's connection is setup incorrectly then it can make policy manager unresponsive.


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:


      [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.


          Issue Links



              • Assignee:
                aloklal99 Alok Lal
                aloklal99 Alok Lal
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: