Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good library for accessing HBase from Python? [closed]

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?

like image 621
Wojtek Avatar asked Apr 18 '10 16:04

Wojtek


People also ask

What is Python HappyBase?

HappyBase is a developer-friendly Python library to interact with Apache HBase. HappyBase is designed for use in standard HBase setups, and offers application developers a Pythonic API to interact with HBase.


1 Answers

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

like image 156
juhanic Avatar answered Nov 03 '22 00:11

juhanic