In this recipe, we are going to see how to use Hbase data as input to the MapReduce program.
To perform this recipe, you should have a running Hadoop cluster as well as the latest version of Hbase installed on it. You will also need an IDE such as Eclipse.
To get started, we first need to create a maven project, and add the following dependencies to it:
<dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-client</artifactId> <version>1.0.1.1</version> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-mapreduce-client-core</artifactId> <version>2.7.1</version> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> ...