[
https://issues.apache.org/jira/browse/HIVE-11581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14706159#comment-14706159
]
Hive QA commented on HIVE-11581:
--------------------------------
{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/12751601/HIVE-11581.2.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9371 tests executed
*Failed tests:*
{noformat}
org.apache.hive.jdbc.TestJdbcDriver2.testDriverProperties
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5025/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5025/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5025/
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: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12751601 - PreCommit-HIVE-TRUNK-Build
> HiveServer2 should store connection params in ZK when using dynamic service
> discovery for simpler client connection string.
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-11581
> URL: https://issues.apache.org/jira/browse/HIVE-11581
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2, JDBC
> Affects Versions: 1.3.0, 2.0.0
> Reporter: Vaibhav Gumashta
> Assignee: Vaibhav Gumashta
> Attachments: HIVE-11581.1.patch, HIVE-11581.2.patch
>
>
> Currently, the client needs to specify several parameters based on which an
> appropriate connection is created with the server. In case of dynamic service
> discovery, when multiple HS2 instances are running, it is much more usable
> for the server to add its config parameters to ZK which the driver can use to
> configure the connection, instead of the jdbc/odbc user adding those in
> connection string.
> However, at minimum, client will need to specify zookeeper ensemble and that
> she wants the JDBC driver to use ZooKeeper:
> {noformat}
> beeline> !connect
> jdbc:hive2://vgumashta.local:2181,vgumashta.local:2182,vgumashta.local:2183/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
> vgumashta vgumashta org.apache.hive.jdbc.HiveDriver
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)