Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Accesing remote HBASE using java code via KNOX Gateway

avatar

Hi All,

I have developed a java application that runs in PCF (pivotal) . I would like to insert data into HBASE via KNOX gateway using this java application. Both PCF and hadoop are in different domains , so i am planning to use KNOX gateway for hbase connectivity.

I have gone through some examples which access Hadoop WebHDFS via KNOX gateway . But my requirement is not access hdfs , rather I would like to insert data in to HBASE using my java application that runs in PCF.

Can some one please share list of steps that i need to follow to accomplish above requirement. Also, please share any sample code if available. Thank You.

1 ACCEPTED SOLUTION

avatar
Rising Star
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
6 REPLIES 6

avatar
Super Collaborator

You may want to use Stargate REST API Wiki page

avatar

Thank You.

avatar
Rising Star
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar

Thank you. Let me try this and get back to you if any issues.

avatar
Explorer

Hi @srikanth_velamm ,

 

I am also running into the same problem, where I need to connect to HBase via Knox Gateway(using Knox URL and credentials) using Java.

 

I am using the below HBase Client.

cimpile group: 'org.apache.hbase', name: 'hbase-client', version: '2.4.4'

 

Have you resolved the issue? If so, please let me know the library you used and how to connect using the Knox URL and credentials?

 

Thanks.

avatar
Community Manager

@saamurai, as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: