[
https://issues.apache.org/jira/browse/HIVE-12185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960942#comment-14960942
]
Hive QA commented on HIVE-12185:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12766778/HIVE-12185.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 9694 tests executed
*Failed tests:*
{noformat}
org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation
org.apache.hive.jdbc.TestSSL.testSSLVersion
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5677/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5677/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5677/
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: 2 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12766778 - PreCommit-HIVE-TRUNK-Build
> setAutoCommit should only fail if auto commit is being disabled
> ---------------------------------------------------------------
>
> Key: HIVE-12185
> URL: https://issues.apache.org/jira/browse/HIVE-12185
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 1.2.0, 1.1.0, 1.2.1
> Reporter: Varadharajan
> Assignee: Varadharajan
> Priority: Minor
> Attachments: HIVE-12185.1.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Auto Commit is enabled by default in hive as documented at
> https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-Limitations.
> In accordance with this, HiveConnection.java:getAutoCommit method returns
> true. Similarly, setAutoCommit(true) should pass silently since it is already
> enabled and a SQL exception should be thrown if its called with false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)