In addition to the dependency, hbase-clientyou need the same version hbase-server, it will also include the mapreduce libraries you need. If you are using Maven, you need to add the file pom.xml:
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
<version>1.1.2</version>
</dependency>
(At the time of writing the latest version 1.1.2) Good luck!
source
share