Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 10-12-2017 08:18 PM
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.
Created 10-12-2017 08:35 PM
On infrastructure side you need to have the following in place:
On application side you need to:
Created 10-12-2017 08:27 PM
You may want to use Stargate REST API Wiki page
Created 10-12-2017 08:54 PM
Thank You.
Created 10-12-2017 08:35 PM
On infrastructure side you need to have the following in place:
On application side you need to:
Created 10-12-2017 08:55 PM
Thank you. Let me try this and get back to you if any issues.
Created 06-18-2021 05:46 PM
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.
Created 06-21-2021 12:14 AM
@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,