Showing posts with label Hiveserver2 high availability. Show all posts
Showing posts with label Hiveserver2 high availability. Show all posts

Sunday, July 3, 2016

High Availability for Hiveserver2 Using Ambari web and some important configurations to check.(DYNAMIC SERVICE DISCOVERY)



 

Hint:  Hiveserver2 ha when added on a different node it registers with zookeeper quorum to enable Dynamic Service Discovery . So when connection to hive from beeline client from a edge node just a 

beeline> ! connect jdbc:hive2://<zookeeper_ensemble>;serviceDiscoveryMode=zooKeeper; zooKeeperNamespace=<hiveserver2_namespace

cli>beeline -u jdbc:hive2://<zookeeper_ensemble>;serviceDiscoveryMode=zooKeeper; zooKeeperNamespace=<hiveserver2_namespace