Support Questions
Find answers, ask questions, and share your expertise

Load balancer for metastore

Solved Go to solution

Load balancer for metastore

Explorer

Hi,

 

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 ?

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Load balancer for metastore

Guru
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.

View solution in original post

2 REPLIES 2

Re: Load balancer for metastore

Guru
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.

View solution in original post

Re: Load balancer for metastore

New Contributor

Hi,

 

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:

https://www.cloudera.com/documentation/enterprise/5-15-x/topics/cdh_ig_hiveserver2_configure.html

 

Best, Eyal