Install Thrift
yum groupinstall 'Development Tools' # install package group on centos |
Build Hbase Client Package
thrift --gen py hbase-src/hbase-1.3.1/hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift |
Start Hbase Thrift API
bin/hbase thrift start |
Test Hbase Thrift API
from thrift.transport.TSocket import TSocket |