Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

NoClassDefFoundError: Could not initialize class org.apache.hadoop.hbase.protobuf.ProtobufUtil

avatar
New Contributor

X-posting from impala-user mailing list. 

 

I am using CDH 5.1 (Cloudera quickstart VM) and seeing following error on server in file impalad.quickstart.cloudera.impala.log.WARNING.timestamp when I query a HBASE table using JDBC:

 
Failed to load metadata for HBase table: tablename
CAUSED BY: IOException: java.lang.reflect.InvocationTargetException
CAUSED BY: InvocationTargetException: null
CAUSED BY: NoClassDefFoundError: Could not initialize class org.apache.hadoop.hbase.protobuf.ProtobufUtil
 
I have verified that the hbase-client jar in /usr/lib/impala/lib does indeed have ProtobufUtil.class file. How do I go about fixing the error? 
BTW, I am seeing this error when I query HBase table and not during start-up of impalad daemon.
 
Impala package is impala-server-1.4.0+cdh5.1.0+0-1.cdh5.1.0.p0.92.el6.x86_64 
 
 

 

Who agreed with this topic