Posts: 15
Registered: ‎05-03-2017
Accepted Solution

Load balancer for metastore



We have HA enabled for the metastore and have 2 instances running.  Is it possible to configre a load balancer in front of these ? and if so is this normal practice ?




Cloudera Employee
Posts: 770
Registered: ‎03-23-2015

Re: Load balancer for metastore

HMS does not currently support Load Balancing. You can only specify them in order in hive-site.xml and it will fall to the second HMS only when first HMS is not reachable.
New Contributor
Posts: 4
Registered: ‎07-16-2017

Re: Load balancer for metastore



So how do you scale Hive Metastore when you need to support more than 80 active connections?

According to Cloudera's documentation they only mention supporting up to 80 connections which needs 16-24GB.

Does passing 80 connection requires to continue extending the Heap Memory? How big can it be since 24GB is already too big isn't it?


Attaching Cloudera's memory setup recommendations:


Best, Eyal