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

Vaibhav Gumashta updated HIVE-13264:
------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.2.0
           Status: Resolved  (was: Patch Available)

Committed to master. Thanks [~nithinmahesh] for the work.

> JDBC driver makes 2 Open Session Calls for every open session
> -------------------------------------------------------------
>
>                 Key: HIVE-13264
>                 URL: https://issues.apache.org/jira/browse/HIVE-13264
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 1.2.1, 2.0.1
>            Reporter: NITHIN MAHESH
>            Assignee: NITHIN MAHESH
>              Labels: jdbc
>             Fix For: 2.2.0
>
>         Attachments: HIVE-13264.1.patch, HIVE-13264.2.patch, 
> HIVE-13264.3.patch, HIVE-13264.4.patch, HIVE-13264.5.patch, 
> HIVE-13264.6.patch, HIVE-13264.6.patch, HIVE-13264.7.patch, 
> HIVE-13264.8.patch, HIVE-13264.9.patch, HIVE-13264.patch
>
>
> When HTTP is used as the transport mode by the Hive JDBC driver, we noticed 
> that there is an additional open/close session just to validate the 
> connection. 
>  
> TCLIService.Iface client = new TCLIService.Client(new 
> TBinaryProtocol(transport));
>       TOpenSessionResp openResp = client.OpenSession(new TOpenSessionReq());
>       if (openResp != null) {
>         client.CloseSession(new 
> TCloseSessionReq(openResp.getSessionHandle()));
>       }
>  
> The open session call is a costly one and should not be used to test 
> transport. 



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

Reply via email to