[ https://issues.apache.org/jira/browse/HIVE-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810705#comment-13810705 ]
Thejas M Nair commented on HIVE-5715: ------------------------------------- +1 . Can you also make it patch available ? > 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 > Attachments: HIVE-5715.1.patch > > > 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)