Support Questions

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

does phoenix have a thrift or restful api?

avatar
Master Guru

Does phoenix have a thrift or restful api to interface with it. I found this code on restful api with phoenix but it is not in the HDP stack. Do i need to put this up as a idea?

1 ACCEPTED SOLUTION

avatar
@Sunile Manjee

have a look at the phoenix query server. It's a beta feature in HDP, but is installable via Ambari. When you pick which nodes should be clients, datanodes, nodemanagers, etc, you can check the Phoenix Query Server box.

View solution in original post

2 REPLIES 2

avatar
@Sunile Manjee

have a look at the phoenix query server. It's a beta feature in HDP, but is installable via Ambari. When you pick which nodes should be clients, datanodes, nodemanagers, etc, you can check the Phoenix Query Server box.

avatar
Master Guru

This!

Query server essentially is built on Apache Calcite and jas a JSON API interface.

https://phoenix.apache.org/server.html

http://calcite.apache.org/avatica/docs/json_reference.html

I would think however that its way too much work to write a client using a REST API over this. If you want to create a web application, something like jquery with the jdbc client sounds much more appealing.

( Or go against HBase directly )