AnsweredAssumed Answered

MapReduce Accessing / Manipulating HBase tables

Question asked by rthimmana on Jan 4, 2013
Latest reply on Jan 7, 2013 by gera

In our Development phase, we used the HBase Client to access / manipulate / summarize data from HBase Tables running on MapR. So, the Client and HBase Server are on different systems.

Now, we have to get the same to scale. Doing this in the form of Map-Reduce jobs is ideal as we can cut down on all the network data transfers, mainly while calculating daily summaries (totals, totals by various groupings etc)

**On MapR HBase Server**

While running the Java application from within Eclipse - everything works fine (no Map Reduce)

While running the same code through the MapReduce Framework from within Eclipse, we get a UnsatisfiedLinkError: no MapRClient in java.library.path

Stack Trace
java.lang.UnsatisfiedLinkError: no MapRClient in java.library.path

at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at com.mapr.fs.MapRFileSystem.<clinit>(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at org.apache.hadoop.conf.Configuration.getClassByName(
at org.apache.hadoop.conf.Configuration.getClass(
at org.apache.hadoop.fs.FileSystem.createFileSystem(
at org.apache.hadoop.fs.FileSystem.access$100(
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(
at org.apache.hadoop.fs.FileSystem$Cache.get(
at org.apache.hadoop.fs.FileSystem.get(
at org.apache.hadoop.fs.FileSystem.get(
at org.apache.hadoop.mapred.JobClient.createRPCProxy(
at org.apache.hadoop.mapred.JobClient.init(
at org.apache.hadoop.mapred.JobClient.<init>(
at org.apache.hadoop.mapreduce.Job$
at Method)
at org.apache.hadoop.mapreduce.Job.connect(
at org.apache.hadoop.mapreduce.Job.submit(
at org.apache.hadoop.mapreduce.Job.waitForCompletion(

This is expected as the MapR Client related packages are not installed on the MapR HBase Server Node

Can the HBase Client and HBase (Server) be installed on the same machine? I remember seeing a Install Notes Warning which discourages this. Please advise?