2008-01-12 23:46:44 -05:00
|
|
|
Hbase Thrift Client Examples
|
|
|
|
============================
|
|
|
|
|
|
|
|
Included in this directory are sample clients of the HBase ThriftServer. They
|
2008-09-11 16:12:52 -04:00
|
|
|
all perform the same actions but are implemented in C++, Java, Ruby, PHP, and
|
|
|
|
Python respectively.
|
2008-01-12 23:46:44 -05:00
|
|
|
|
|
|
|
To run/compile this clients, you will first need to install the thrift package
|
|
|
|
(from http://developers.facebook.com/thrift/) and then run thrift to generate
|
|
|
|
the language files:
|
|
|
|
|
2008-09-11 16:12:52 -04:00
|
|
|
thrift --gen cpp --gen java --gen rb --gen py -php \
|
2008-01-12 23:46:44 -05:00
|
|
|
../../../src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
|
|
|
|
2008-09-11 16:12:52 -04:00
|
|
|
See the individual DemoClient test files for more specific instructions on
|
|
|
|
running each test.
|