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?
You can consider several options:
Thrift
Avro is another new way to learn.
You can use simple REST api calls using Stargate .
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
C HBase, , , ++:
https://github.com/apache/hbase/tree/master/hbase-native-client
, ++ Hbase, , Thrift ( , ). , API ++, Thrift API, Java API. , ++ API API Java.
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 .
You can use Thrift as a gateway to connect to HBase.