hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Commented] (HIVE-10893) Expose a global isHS2 check
Date Tue, 02 Jun 2015 18:24:49 GMT


Sergey Shelukhin commented on HIVE-10893:

There's certain difficulty of exposing it from service module to exec module; still, should
be pretty easy to add in HS2 class, startHiveServer2, etc.

> Expose a global isHS2 check
> ---------------------------
>                 Key: HIVE-10893
>                 URL:
>             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

View raw message