Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4628

HS2 sessionmanager should synchronize the call to insert/remove session objects from session hash map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • 0.11.0
    • None
    • HiveServer2
    • None

    Description

      HS2 SessionManager maintains a hashmap of active HS2 sessions. However, insert and deletes to this hashmap is not synchronized. A consequence of this is a racing thread could overwrite a valid session object in the hashmap and we could end up losing a session!

      Attachments

        Activity

          People

            shreepadma Shreepadma Venugopalan
            shreepadma Shreepadma Venugopalan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: