You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2016/05/05 22:26:13 UTC

[jira] [Updated] (HIVE-12426) SessionState.get().getHiveOperation() is unreliable in HiveServer2

     [ https://issues.apache.org/jira/browse/HIVE-12426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vaibhav Gumashta updated HIVE-12426:
------------------------------------
    Assignee:     (was: Vaibhav Gumashta)

> SessionState.get().getHiveOperation() is unreliable in HiveServer2
> ------------------------------------------------------------------
>
>                 Key: HIVE-12426
>                 URL: https://issues.apache.org/jira/browse/HIVE-12426
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 1.2.1
>            Reporter: André Kelpe
>
> SessionState.get().getHiveOperation() is supposed to allow easy access to the current kind of operation. The information however is incorrect in the HiveServer2 case, since the setting of the value is happening in a different thread than the code than the actual user session is in. Since this is a ThreadLocal there is no way to retrieve the correct value, if it is set by a different thread.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)