You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2015/06/02 20:22:49 UTC

[jira] [Created] (HIVE-10893) Expose a global isHS2 check

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)