Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

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 
 
 

 

Don't have an account?
Coming from Hortonworks? Activate your account here