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

Separate Hive Security from SessionState

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Security
    • None

    Description

      Right now we have Hive security classes associated with SessionState. When HiveServer2 starts, the service session will initialize it and later each session will need to reinitialize. Since such security configuration is on service level, we should move security info out out SessionState and make it Singleton so we can initialize it once.

      And also, since SessionState.setupAuth() - to setup authentication and authorization is not synchronized, we could run into concurrency issue if queries or meta operations are run within same session.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aihuaxu Aihua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: