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

How is the High Availability Hbase REST service setup such that the REST service is on more than one region server and if a region server fails, we can keep using the REST service to query HBase.

Expert Contributor
 
2 REPLIES 2

Super Collaborator

Currently the REST gateway doesn't support HA.

Meaning the client is given single port number to contact the gateway.

Clarification to region server failure part in the question: if region server process fails (but REST gateway doesn't), the REST gateway can contact other servers and continue to provide service.

Expert Contributor

@Joshua Adeleke HBase REST is just an HTTP based service so you can always add more and have a load balancer in front of it.

Or even use Knox which supports an ha configuration for HBASE.

Add the following under the HaProvider:

<param>
  <name>WEBHBASE</name>
  <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
</param>

And the following service definition:

<service>
  <role>WEBHBASE</role>
  <url>http://{server1}:8080</url>
  <url>http://{server2}:8080</url>
</service>