Skip to content

HBase testing

smska edited this page Jul 31, 2019 · 3 revisions

Only add the following dependency:

<dependency>
  <groupId>org.apache.hbase</groupId>
  <artifactId>hbase-testing-util</artifactId>
  <version>${hbase.version}</version>
  <scope>test</scope>
</dependency>

Create a mini cluster with
new HBaseTestingUtility().startMiniCluster()

Clone this wiki locally