简体   繁体   中英

Thrift alternative for HBase?

We are having trouble with reading data in PHP using Thrift for HBase. Loading data, creating tables is all good. Problem are the rest of data operations. There isn't much documentation for this apart from their main website hence lost. All the tutorials I've seen on the net deal with setup & inserting data, not other data operations.

In interest of time we are looking for alternatives to thrift that can help PHP & HBase work + has enough documentation. If we can't find alternatives then the plan is to use Cassandra instead of HBase until better documentation is out there for HBase with PHP. But any suggestions for in-depth tutorials or alternates to make PHP & HBase work for all data operations would be great.

Beside Thrift HBase also supports REST interface which might provide some other ways to access data. Note that REST interface is slower by design because it uses HTTP, not Thrift protocol.

他们在源代码中包含客户端示例: http : //svn.apache.org/repos/asf/hbase/trunk/src/examples/thrift/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM