hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From D K <>
Subject Re: hive/hbase integration
Date Wed, 25 Jun 2014 03:49:40 GMT
If the MR job is failing can you try the following on Hive CLI before
running the query?

add jar $HBASE_HOME/lib/hbase-client-<version>-hadoop2.jar;
add jar $HBASE_HOME/lib/hbase-protocol-<version>-hadoop2.jar;
add jar $HBASE_HOME/lib/hbase-server-<version>-hadoop2.jar;
add jar $HBASE_HOME/lib/htrace-core-2.01.jar

replace <version> based on your install environment. Also replace
$HBASE_HOME with the full path of your hbase install.


On Mon, Jun 23, 2014 at 9:14 AM, Brian Jeltema <> wrote:

> I’m running Hive 0.12 on Hadoop V2 (Ambari installation) and have been
> trying to use HBase integration. Hive generated Map/Reduce jobs
> are failing with:
>    Error: java.lang.ClassNotFoundException:
> org.apache.hadoop.hbase.mapreduce.TableSplit
> this is discussed in several discussion threads, but I there are so many
> different distributions, bugs, and versions involved
> that it’s difficult to find the correct solution.
> Can someone suggest the correct fix (or approach to a fix) for this
> configuration?
> Thanks
> Brian

View raw message