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

Hive QA commented on HIVE-7107:
-------------------------------



{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/12670956/HIVE-7107.2.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 6347 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.parse.TestParse.testParse_union
org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/966/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/966/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-966/

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: 12670956

> Fix HiveServer1 JDBC Driver spec compliancy issue
> -------------------------------------------------
>
>                 Key: HIVE-7107
>                 URL: https://issues.apache.org/jira/browse/HIVE-7107
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Lars Francke
>            Assignee: Lars Francke
>            Priority: Minor
>         Attachments: HIVE-7107.2.patch, HIVE-7107.2.patch
>
>
> The HiveServer1 driver does not adhere to the JDBC standard of returning null 
> when it can't handle a connection URL. It instead throws an exception which 
> leads to subsequent exceptions (from other drivers, i.e. the HiveServer2 one) 
> being swallowed.
> This is what you'd see:
> {quote}
> Error: Invalid URL: 
> jdbc:hive2://localhost:10000/default;principal=hive/_h...@example.com 
> (state=08S01,code=0)
> java.sql.SQLException: Invalid URL: 
> jdbc:hive2://localhost:10000/default;principal=hive/_h...@example.com
>       at 
> org.apache.hadoop.hive.jdbc.HiveConnection.<init>(HiveConnection.java:86)
> {quote}
> In addition this patch cleans up the drivers a bit.



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

Reply via email to