Is there a C library for HBase?

I need HBase to store a large number of indexing keywords and values ​​(currently used by Redis), but I cannot find any C library to connect, write or read HBase.

I googled but didn't find anything. Anyone have an idea? Or is there a similar Hadoop-related database that has a mature C library?

+3
source share
5 answers

You can consider several options:

The HBase-1015 HBase Error Tracking section discusses c and C ++ clients.

, , .

HDFS, hbase, , Hadoop, C.

libhdfs - c hdf. jni.

http://wiki.apache.org/hadoop/LibHDFS

http://hadoop.apache.org/common/docs/current/libhdfs.html

:

https://github.com/kzk/libhdfs-example

+1

, ++ Hbase, , Thrift ( , ). , API ++, Thrift API, Java API. , ++ API API Java.

+1

A custom API for HBase, libhbase, similar to libhdfs, is available here .

You can also download ready-made packages for CentOS / RedHat and Ubuntu for HBase 0.98.x from here .

+1
source

You can use Thrift as a gateway to connect to HBase.

0
source

All Articles