You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gunther Hagleitner (JIRA)" <ji...@apache.org> on 2013/10/31 21:54:19 UTC

[jira] [Created] (HIVE-5715) HS2 should not "start" a session for every command

Gunther Hagleitner created HIVE-5715:
----------------------------------------

             Summary: HS2 should not "start" a session for every command
                 Key: HIVE-5715
                 URL: https://issues.apache.org/jira/browse/HIVE-5715
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
    Affects Versions: 0.12.0
            Reporter: Gunther Hagleitner
            Assignee: Gunther Hagleitner


HS2 calls SessionState.start multiple times (acquire, operation.run) - where it really just cares that the session is set in the thread local store. There are some calls in start session method now that preload stuff that's used during the session. Instead of doing that over and over again, I think it'd be nicer for HS2 to start a session once and then just do the thread local magic as needed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)