hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13264) JDBC driver makes 2 Open Session Calls for every open session
Date Sat, 04 Jun 2016 11:38:59 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315472#comment-15315472
] 

Hive QA commented on HIVE-13264:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12807654/HIVE-13264.6.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 10202 tests executed
*Failed tests:*
{noformat}
TestMiniTezCliDriver-cte_4.q-vector_groupby_reduce.q-empty_join.q-and-12-more - did not produce
a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_13
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_rand_partitionpruner3
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_multiinsert
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_constprog_partitioner
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3
org.apache.hive.minikdc.TestJdbcNonKrbSASLWithMiniKdc.testNegativeProxyAuth
org.apache.hive.minikdc.TestJdbcWithDBTokenStore.testNegativeProxyAuth
org.apache.hive.minikdc.TestJdbcWithMiniKdc.testNegativeProxyAuth
{noformat}

Test results: http://ec2-54-177-240-2.us-west-1.compute.amazonaws.com/job/PreCommit-HIVE-MASTER-Build/520/testReport
Console output: http://ec2-54-177-240-2.us-west-1.compute.amazonaws.com/job/PreCommit-HIVE-MASTER-Build/520/console
Test logs: http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-520/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 9 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12807654 - PreCommit-HIVE-MASTER-Build

> 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
>            Reporter: NITHIN MAHESH
>            Assignee: NITHIN MAHESH
>              Labels: jdbc
>         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.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)

Mime
View raw message