Vaibhav Gumashta created HIVE-11403:
---------------------------------------
Summary: Authorization policy init should be delinked from
SessionState
Key: HIVE-11403
URL: https://issues.apache.org/jira/browse/HIVE-11403
Project: Hive
Issue Type: Improvement
Components: HiveServer2
Reporter: Vaibhav Gumashta
Priority: Minor
Currently, on HS2 startup, the authorization policy is applied in the main
thread. However, this is done as a part of the SessionState, which ends up
setting a ThreadLocal SessionState, Hive etc, all which may not be required.
Moreover, SessionState is designed to hold information specific to a user's
session. I believe authorization policy is not session specific.
cc [~thejas]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)