A maven plugin that starts/stops a mini HBase cluster.
This plugin is useful for integration testing code that interacts with
an HBase cluster. Typically, you will bind the start
goal to your
pre-integration-test
phase and the stop
goal to the
post-integration-test
phase of the maven build lifecycle.
This plugin can be run against multiple Hadoop backends. Version 1.0.10-cdh4 will run with a CDH4-based cluster; Version 1.0.9-hadoop1 will use an Apache Hadoop 1.x / HBase 0.92 backend.
To run with 1.0.10-hadoop1, you must:
- Set
umask 0022
- Disable IPv6 in your maven process:
export MAVEN_OPTS="-Djava.net.preferIPv4Stack=true"