When I test hbase using ycsb I get the following error:
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.hadoop.hbase.util.ClassSize
at org.apache.hadoop.hbase.ipc.IPCUtil.(IPCUtil.java:74)
at org.apache.hadoop.hbase.ipc.AbstractRpcClient.
(AbstractRpcClient.java:91)
at org.apache.hadoop.hbase.ipc.RpcClientImpl.
(RpcClientImpl.java:1082)
at org.apache.hadoop.hbase.ipc.RpcClientImpl.(RpcClientImpl.java:1108)
How do I solve this?
The error does not look related to YCSB, whatever you are doing - please ensure that hbase-common jar is in your classpath.