Is there a good library for accessing HBase from Python?

Wojtek picture Wojtek · Apr 18, 2010 · Viewed 9.9k times · Source

I spent some time looking around, and all I could find is Jython. It's an option, but is there something that could be used in a more pythonesque (simpler) way?

Answer

juhanic picture juhanic · Apr 27, 2010

Stargate is still in the contrib part of the Hbase project while ThriftServer is maintained in core(org.apache.hadoop.hbase.thrift). Grab the HBase.thrift file from the repository and run

thrift --gen py HBase.thrift on it, shove the contents into wherever, and startup a thrift server. Stargate is very very slow. The HBase thrift still has some work to be done on it, however it is still being actively worked on

A couple of places to get started

http://wiki.apache.org/hadoop/Hbase/ThriftApi