hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-7935) Support dynamic service discovery for HiveServer2
Date Mon, 15 Sep 2014 11:01:34 GMT


Hive QA commented on HIVE-7935:

{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 6264 tests passed

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase

This message is automatically generated.


> Support dynamic service discovery for HiveServer2
> -------------------------------------------------
>                 Key: HIVE-7935
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: HiveServer2, JDBC
>    Affects Versions: 0.14.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>             Fix For: 0.14.0
>         Attachments: HIVE-7935.1.patch, HIVE-7935.2.patch, HIVE-7935.3.patch, HIVE-7935.4.patch,
HIVE-7935.5.patch, HIVE-7935.6.patch
> To support Rolling Upgrade / HA, we need a mechanism by which a JDBC client can dynamically
resolve an HiveServer2 to connect to.
> *High Level Design:* 
> Whether, dynamic service discovery is supported or not, can be configured by setting
> * When an instance of HiveServer2 comes up, it adds itself as a znode to ZooKeeper under
a configurable namespace (HIVE_SERVER2_ZOOKEEPER_NAMESPACE).
> * A JDBC/ODBC client now specifies the ZooKeeper ensemble in its connection string, instead
of pointing to a specific HiveServer2 instance. The JDBC driver, uses the ZooKeeper ensemble
to pick an instance of HiveServer2 to connect for the entire session.
> * When an instance is removed from ZooKeeper, the existing client sessions continue till
completion. When the last client session completes, the instance shuts down.
> * All new client connection pick one of the available HiveServer2 uris from ZooKeeper.

This message was sent by Atlassian JIRA

View raw message