Friday, January 4, 2013

make hbase 0.94.3 work with hadoop 2.0

The tar ball hbase-0.94.3.tar.gz I downloaded from apache web site was built for hadoop 1.0 and it does not work with hadoop 2.0 by default. To make it work with hadoop 2.0, I need to rebuild it from source as follows.
$ tar zxvf hbase-0.94.3.tar.gz
$ cd hbase-0.94.3
$ mvn -Dhadoop.profile=2.0 -DskipTests install
The new built hbase-0.94.3.tar.gz is under the target/ directory. Be aware that you need to turn off the tests with the Maven option -DskipTests because some tests fail for hadoop 2.0.

1 comment:

  1. Convenient base classes for backing Hadoop MapReduce jobs with Hbase tables.

    ReplyDelete