Apache HBase with an Avro service definition and Java server implementation
Pull request Compare This branch is 63 commits ahead, 20 commits behind kovyrin:trunk.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
conf
docs
src
.gitignore
CHANGES.txt
LICENSE.txt
NOTICE.txt
README.md
pom.xml

README.md

In this fork I hope to define and Avro "gateway" interface to HBase as well as provide a Java service implementation.

I'd like the implementation to use the new Get/Put/Delete/Scan APIs available in trunk. The scope of the work encompasses both HBASE-2400 and HBASE-1744.

To use, first we compile and start HBase and the Avro server:

$ git clone git@github.com:hammer/hbase-trunk-with-avro.git hbase-trunk-with-avro
$ cd hbase-trunk-with-avro
$ export HBASE_HOME=${PWD}
$ mvn -DskipTests install
$ bin/start-hbase.sh
$ bin/hbase avro start

In another terminal, we download the Avro Python client and manipulate our HBase installation:

$ sudo pip install pyhbase
$ pyhbase-cli create_table t1 cf1
$ pyhbase-cli describe_table t1
$ pyhbase-cli put t1 r1 cf1:c1 fromavro
$ pyhbase-cli get t1 r1