Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
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
- is related to
-
HIVE-20016 Investigate TestJdbcWithMiniHS2.testParallelCompilation3 random failure
- Resolved