GitHub user ashutosh-bapat opened a pull request: https://github.com/apache/hive/pull/487
Hive20794 Find more details about the changes in HIVE-20794. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ashutosh-bapat/hive hive20794 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hive/pull/487.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #487 ---- commit 383e8be33934d078bad2e8fe1233cc0f3c6119ed Author: Ashutosh Bapat <ashutosh.bapat.oss@...> Date: 2018-10-26T08:22:04Z HIVE-20794: Use Zookeeper for dynamic service discovery of metastore. The patch also adds new ZooKeeper configurations for metastore. We reuse THRIFT_URIs to specify ZooKeeper quorum and have another configuration by name THRIFT_SERVICE_DISCOVERY_MODE to specify what method to use for dynamic service discovery. Ashutosh Bapat commit a38e2e8c9fdc85cd809a1aac9d16ed1d204117bb Author: Ashutosh Bapat <ashutosh.bapat.oss@...> Date: 2018-11-13T09:05:03Z HIVE-20794: Refactor existing code for supporting metastore dynamic discovery using Zookeeper Extract the code in HiveServer2 dealing with ZooKeeper into a ZooKeeperHiveHelper class so that it can be used by MetaStore server as well. This also moves the ZooKeeperHiveHelper.java into a location common to both HiveServer2 and MetaStore code. Ashutosh Bapat ---- ---