Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HBase Table REST Endpoint

avatar
New Member

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

avatar
Super Collaborator

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

View solution in original post

1 REPLY 1

avatar
Super Collaborator

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