Wednesday, August 13, 2008

Hadoop HBase with Maven2

I'm using Maven2 now, but there was an problem with Hadoop HBase. It doesn't exists at any major Maven repository. If you want to use HBase with Maven 2, you need to deploy it into local repository by yourself. It's easy, just download this files:


Then configure HBASE_HOME enviroment variable:
export HBASE_HOME=/path/to/hbase

Run deploy-deps.sh and all done. After it you can use following dependency:

<dependency>
<groupid>org.apache.hadoop</groupid>
<artifactid>hbase</artifactid>
<version>0.1.3</version>
</dependency>


You can modify those files for your needs, if you wish.