Skip to content

Apache HBase with an Avro service definition and Java server implementation

License

Notifications You must be signed in to change notification settings

hammer/hbase-trunk-with-avro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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

About

Apache HBase with an Avro service definition and Java server implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.9%
  • Ruby 3.0%
  • Shell 0.4%
  • JavaScript 0.3%
  • C++ 0.2%
  • PHP 0.1%
  • Python 0.1%