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.

HBase REST server in production

HBase REST server in production

New Contributor

I have few questions on HBase REST server.

  1. Can we have HA by running several REST servers behind a VIP or a load balancer? if Yes, can I install several REST server instances with Ambari?
  2. What are recommendations for running REST server in production?
  3. Does REST API supports Kerberised clusters?

Thanks

7 REPLIES 7

Re: HBase REST server in production

Super Collaborator

For #1, Ambari doesn't support running multiple REST server instances.

For #3, see

http://hbase.apache.org/book.html#_client_side_configuration_for_secure_operation_rest_gateway

Re: HBase REST server in production

New Contributor

@Ted Yu

Thanks. Does #1 means we can not have HA? or should I install it manually?

Re: HBase REST server in production

Super Collaborator

Neither Ambari nor HBase provide HA solution for REST server at the moment.

Re: HBase REST server in production

New Contributor

@Ted Yu

I am aware that HBase doesn't provide HA for REST. However, is it possible to deploy several REST server and use a load balancer for HA? this is how we do for QPS for instance

Highlighted

Re: HBase REST server in production

Super Collaborator

That should work.

Re: HBase REST server in production

New Contributor

Hi all,

Any practical feedback on this? the only answer I got is that it should work.

Thanks

Re: HBase REST server in production

Expert Contributor

@Tim David

Ambari doesn't support the HBase REST service, but HDP offers an init script in the hbase-rest package (which can be installed manually) and this script is recommended to be used in production to start the service (and also to automatically start it at boot time).

And then of course, you can use a loadbalancer in front of several HBase REST services or even use Knox which supports multiple HBase REST services (but for ha only):

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>
Don't have an account?
Coming from Hortonworks? Activate your account here