FAQ - General HBase Questions

Questions

  1. When would I use HBase?

  2. Can someone give an example of basic API-usage going against hbase?

  3. What other hbase-like applications are there out there?

  4. How do I access HBase from my Ruby/Python/Perl/PHP/etc. application?

  5. Can HBase development be done on windows?

  6. Please explain HBase version numbering?

  7. What version of Hadoop do I need to run HBase?

Answers

1. When would I use HBase?

See Bryan Duxbury's post on this topic.

2. Can someone give an example of basic API-usage going against hbase?

See the Data Model section in the HBase Book: http://hbase.apache.org/book.html#datamodel

See the wiki home page for sample code accessing HBase from other than java.

3. What other hbase-like applications are there out there?

Broadly speaking, there are many. One place to start your search is here nosql.

4. How do I access Hbase from my Ruby/Python/Perl/PHP/etc. application?

See non-java access on HBase wiki home page

5. Can HBase development be done on windows?

See the the Getting Started section in the HBase Book: http://hbase.apache.org/book.html#getting_started

6. Please explain HBase version numbering?

See HBase Versions since 0.20.x. The below is left in place for the historians.

Originally HBase lived under src/contrib in Hadoop Core. The HBase version was that of the hosting Hadoop. The last HBase version that bundled under contrib was part of Hadoop 0.16.1 (March of 2008).

The first HBase Hadoop subproject release was versioned 0.1.0. Subsequent releases went at least as far as 0.2.1 (September 2008).

In August of 2008, consensus had it that since HBase depends on a particular Hadoop Core version, the HBase major+minor versions would from now on mirror that of the Hadoop Core version HBase depends on. The first HBase release to take on this new versioning regimine was 0.18.0 HBase; HBase 0.18.0 depends on Hadoop 0.18.x.

Sorry for any confusion caused.

7. What version of Hadoop do I need to run HBase?

Different versions of HBase require different versions of Hadoop. Consult the table below to find which version of Hadoop you will need:

HBase Release Number

Hadoop Release Number

0.1.x

0.16.x

0.2.x

0.17.x

0.18.x

0.18.x

0.19.x

0.19.x

0.20.x

0.20.x

0.90.4 (current stable)

???

Releases of Hadoop can be found here. We recommend using the most recent version of Hadoop possible, as it will contain the most bug fixes.

Note that HBase-0.2.x can be made to work on Hadoop-0.18.x. HBase-0.2.x ships with Hadoop-0.17.x, so to use Hadoop-0.18.x you must recompile Hadoop-0.18.x, remove the Hadoop-0.17.x jars from HBase, and replace them with the jars from Hadoop-0.18.x.

Also note that after HBase-0.2.x, the HBase release numbering schema will change to align with the Hadoop release number on which it depends.

Hbase/FAQ_General (last edited 2011-12-21 19:50:10 by alevchuk)