Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Hive Hbase 0.94 ClassNotFoundException com.google.protobuf.Message


Copy link to this message
-
Re: Hive Hbase 0.94 ClassNotFoundException com.google.protobuf.Message
Jean-Daniel Cryans 2012-10-25, 14:59
Hi Nick,

Have you tried what's in this documentation?

https://cwiki.apache.org/confluence/display/Hive/HBaseIntegration#HBaseIntegration-Usage

It seems to me that you should add guava in the auxpath.

J-D

On Thu, Oct 25, 2012 at 7:52 AM, Nick maillard
<[EMAIL PROTECTED]> wrote:
> Hi everyone
>
> Continuing on my journey in Hadoop world.
> I have installed:
> Hive 0.9 on
> Hbase 0.94.2 cluster atop
> an Hadoop 1.0.3 cluster.
>
> When I do simply query like "select *" everything is fine.
> When I try "select foo from myTestTable" I see the MR
> start on my hadoop monitor UI and it fails with:
>
> Error: java.lang.ClassNotFoundException:
> com.google.protobuf.Message
> at java.net.URLClassLoader$1.run
> at java.net.URLClassLoader$1.run
> at java.security.AccessController.doPrivileged
> at java.net.URLClassLoader.findClass
> at java.lang.ClassLoader.loadClass
> at sun.misc.Launcher$AppClassLoader.loadClass
> at java.lang.ClassLoader.loadClass
> at
> org.apache.hadoop.hbase.io.HbaseObjectWritable.<clinit
> at org.apache.hadoop.hbase.ipc.Invocation.write
>
> Anyone have this problem:
> The jar is present in hbase lib directory.
> I have copied the jar in my hive libs directory with no result.
>
>