Created 06-02-2018 03:19 AM
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!!!
Created 06-06-2018 02:51 PM
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
Created 06-06-2018 02:51 PM
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