Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HiveServer2 HA and HDP Views

Solved Go to solution

HiveServer2 HA and HDP Views

Explorer

HS2 load Balanced is supported by Hortonworks View?

HUE doesn't support it (Jira Hue 2738 )

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: HiveServer2 HA and HDP Views

@Alberto Ramon

You can setup multiple H2 instances and then create a DNS with their IPs. You would then point the Hive View to that DNS. See this related article on how to load balance H2. https://community.hortonworks.com/questions/110277/load-balancing-hiveserver2-over-knox.html. This is a supported configuration.

4 REPLIES 4

Re: HiveServer2 HA and HDP Views

Expert Contributor

You can configure two separate hive views for two servers

Re: HiveServer2 HA and HDP Views

Explorer

yes, but the target is auto load balance of all user's queries and HS2

I don't know if Views admit this syntax in connections:

jdbc:hive2://<zookeeperList>;serviceDiscoveryMode=zooKeeper; zooKeeperNamespace=hiveserver2

Re: HiveServer2 HA and HDP Views

Expert Contributor

No views don't support that

Highlighted

Re: HiveServer2 HA and HDP Views

@Alberto Ramon

You can setup multiple H2 instances and then create a DNS with their IPs. You would then point the Hive View to that DNS. See this related article on how to load balance H2. https://community.hortonworks.com/questions/110277/load-balancing-hiveserver2-over-knox.html. This is a supported configuration.

Don't have an account?
Coming from Hortonworks? Activate your account here