You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2015/08/09 15:39:45 UTC
[jira] [Commented] (HIVE-11293) HiveConnection.setAutoCommit(true)
throws exception
[ https://issues.apache.org/jira/browse/HIVE-11293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679148#comment-14679148 ]
Hive QA commented on HIVE-11293:
--------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12749383/HIVE-11293.patch
{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 9344 tests executed
*Failed tests:*
{noformat}
org.apache.hive.jdbc.TestSSL.testSSLFetchHttp
org.apache.hive.spark.client.TestSparkClient.testSyncRpc
{noformat}
Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4886/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4886/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4886/
Messages:
{noformat}
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: 2 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12749383 - PreCommit-HIVE-TRUNK-Build
> HiveConnection.setAutoCommit(true) throws exception
> ---------------------------------------------------
>
> Key: HIVE-11293
> URL: https://issues.apache.org/jira/browse/HIVE-11293
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Reporter: Andriy Shumylo
> Assignee: Michał Węgrzyn
> Priority: Minor
> Attachments: HIVE-11293.patch
>
>
> Effectively autoCommit is always true for HiveConnection, however setAutoCommit(true) throws exception, causing problems in existing JDBC code.
> Should be
> {code}
> @Override
> public void setAutoCommit(boolean autoCommit) throws SQLException {
> if (!autoCommit) {
> throw new SQLException("disabling autocommit is not supported");
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)