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 Table REST Endpoint

Solved Go to solution

HBase Table REST Endpoint

New Contributor

Hi Guys,

We need some help here:

We have a HDP 2.6.4 cluster and a huge SOA ecosystem with Oracle Enterprise Service Bus. We need to expose Hbase tables as REST Endpoints and create Proxy Services in OSB that will be consumed by third-party web applications.

What is the best architectural approach to create and expose those Hbase tables REST Endpoints? What do you recommend for a API Gateway inside the HDP Cluster?

Thanks!!!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: HBase Table REST Endpoint

Expert Contributor

Hi @Thiago Charchar, you can use the HBase REST service that comes by default in the package, you only have to start it - the init script is located under /usr/hdp/current/hbase-master/etc/rc.d/hbase-rest.

These will be the endpoints offered: https://hbase.apache.org/1.1/apidocs/org/apache/hadoop/hbase/rest/package-summary.html

You can start it on the HBase Master nodes (usually 2 of them) but if you'd need it to scale, I guess you can start it on as many nodes are required, it's just a Java app that offers the REST service and connects to HBase in the backend.

You can also tune it a little bit, for example setting the number of threads (in Custom hbase-site):

hbase.rest.threads.max=200
hbase.rest.threads.min=10
1 REPLY 1
Highlighted

Re: HBase Table REST Endpoint

Expert Contributor

Hi @Thiago Charchar, you can use the HBase REST service that comes by default in the package, you only have to start it - the init script is located under /usr/hdp/current/hbase-master/etc/rc.d/hbase-rest.

These will be the endpoints offered: https://hbase.apache.org/1.1/apidocs/org/apache/hadoop/hbase/rest/package-summary.html

You can start it on the HBase Master nodes (usually 2 of them) but if you'd need it to scale, I guess you can start it on as many nodes are required, it's just a Java app that offers the REST service and connects to HBase in the backend.

You can also tune it a little bit, for example setting the number of threads (in Custom hbase-site):

hbase.rest.threads.max=200
hbase.rest.threads.min=10