Which libraries are needed for mapreduce on HBase?

hadoop2, hbase, mapreduce, maven

Solution

In addition to `hbase-client` dependency you need same version `hbase-server` dependency, this will also include the mapreduce libraries you need. If you're using Maven, you need to add in your `pom.xml` file:

<dependency>
    <groupId>org.apache.hbase</groupId>
    <artifactId>hbase-server</artifactId>
    <version>1.1.2</version>
</dependency>

(At the moment of writing last version is `1.1.2`) Good luck!

Problem

I have a very basic question! what libraries I need for MapReduce on HBase? I know I must use TableMapper and I've got hadoop-client 2.2.0 and hbase-client 0.98.2 from maven but there's no TableMapper in API. Thank you.

Original source