Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which libraries are needed for mapreduce on HBase?

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.

like image 529
Mohammad Avatar asked Dec 09 '22 07:12

Mohammad


1 Answers

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!

like image 113
haydenmarchant Avatar answered Dec 23 '22 09:12

haydenmarchant