hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-5715) HS2 should not "start" a session for every command
Date Thu, 31 Oct 2013 20:54:19 GMT
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)

Mime
View raw message