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

Thejas M Nair updated HIVE-5715:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Patch committed to trunk.
Thanks Gunther!


> 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
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5715.1.patch, HIVE-5715.2.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)

Reply via email to