You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2018/07/02 18:54:00 UTC
[jira] [Created] (HIVE-20053) Separate Hive Security from
SessionState
Aihua Xu created HIVE-20053:
-------------------------------
Summary: Separate Hive Security from SessionState
Key: HIVE-20053
URL: https://issues.apache.org/jira/browse/HIVE-20053
Project: Hive
Issue Type: Improvement
Components: Security
Affects Versions: 3.0.0
Reporter: Aihua Xu
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 it. 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)