[ View menu ]

Introducing Rhino, a Ruby ORM for Hbase

Until recently, HBase, the Bigtable-like distributed storage system from Apache Hadoop, had no Ruby API. That changed when Bryan Duxbury released ruby-hbase, an interface to the REST API he wrote for HVase. But there’s no Ruby ORM for Hbase yet.

So, in the last 24 hours, I threw together the beginnings of a Ruby + HBase ORM. It’s called Rhino. Right now, it can do CRUD. The code for interacting with Hbase is taken from Bryan’s ruby-hbase; I’ve just done the ORM part.

Get it

The Rhino code is hosted at Github. Check :

git clone git://github.com/sqs/rhino.git

Check README, spec/spec_helper.rb and spec/rhino_spec.rb for usage examples.

4 Comments

  1. Engineering Rapleaf - Ruby-HBase ORM Already? says:

    […] for someone to decide to start working on an ORM layer to go over the ruby-hbase gem. Here’s Quinn Slack’s announcment for Rhino. It looks pretty new, and I’m sure it will go through a lot of iterations, but I’m […]

    January 4, 2008 @ 2:19 pm

  2. Eivind Uggedal says:

    You’re aware of Mozilla’s Java implementation of JavaScript also named Rhino?

    January 5, 2008 @ 8:03 am

  3. sqs says:

    Eivind: Yes, I am. A Google search for “Ruby Rhino,” however, disambiguates the two Rhinos pretty well. In fact, this post is #7 in the results when you run that search. If it begins to be an issue for the Java people, then they can just add a “-ruby” to their searches. Think that’s an OK compromise?

    January 5, 2008 @ 10:00 am

  4. Dru Jensen says:

    Thanks for contributing this project. It saved me tons of time.

    I made a couple mods to support jruby since libxml in native C. I was wondering if you are interested.

    July 8, 2008 @ 9:57 am

RSS feed Comments | TrackBack URI

Write Comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>