How to expose Hadoop data (Response in HDFS) as Web Service to Client.
posted 4 years ago
I need to expose Hadoop Response (collected in HDFS) as web service.Now I have some confusion regarding this:
- I tried using REST Stargate. Parsing response from the Hbase REST URL and extracting the necessary fields and decoding using Base64 decoder. It worked fine for limited data but once the number of rows increased reading response from the Hbase REST URL gave no response at all even for 15 minutes. Was that the correct approach.Should exposing Hbase data as Webservice is correct way like that?
-Should I put this HDFS data in Hive Table, read this Hive table using JDBC client and expose this as REST web service? Is this approach fine?Which one should be choosen Jersey,RestEasy,Restlet or any other?
-Should I do the above by creating a SOAP web service instead of REST?