Sergey Shelukhin created HIVE-10893:
---------------------------------------
Summary: Expose a global isHS2 check
Key: HIVE-10893
URL: https://issues.apache.org/jira/browse/HIVE-10893
Project: Hive
Issue Type: Bug
Reporter: Sergey Shelukhin
Priority: Minor
Currently, HS2 flag can only be checked via SessionState. That's fragile
(SessionState can be null and it's not clear when the flag is set, you have to
read the code and ascertain it would be set early enough in init for your
purposes), and also unnecessary because you are either in HS2 or not - global
flag should suffice
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)