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.

Coprocessor issue in hbase

Highlighted

Coprocessor issue in hbase

New Contributor

Hi,


When i am trying to load a coprocessor in Hbase i am getting below error :


ERROR: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/coprocessor/BaseRegionObserver

at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:469)

at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)

at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)

at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)

Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/coprocessor/BaseRegionObserver

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:763)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)

at java.net.URLClassLoader.access$100(URLClassLoader.java:74)

at java.net.URLClassLoader$1.run(URLClassLoader.java:369)

at java.net.URLClassLoader$1.run(URLClassLoader.java:363)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:362)

at org.apache.hadoop.hbase.util.CoprocessorClassLoader.loadClass(CoprocessorClassLoader.java:317)

at org.apache.hadoop.hbase.util.CoprocessorClassLoader.loadClass(CoprocessorClassLoader.java:289)

at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.testTableCoprocessorAttrs(RegionCoprocessorHost.java:353)

at org.apache.hadoop.hbase.master.HMaster.checkClassLoading(HMaster.java:2286)

at org.apache.hadoop.hbase.master.HMaster.sanityCheckTableDescriptor(HMaster.java:2047)

at org.apache.hadoop.hbase.master.HMaster.access$200(HMaster.java:231)

at org.apache.hadoop.hbase.master.HMaster$12.run(HMaster.java:2527)

at org.apache.hadoop.hbase.master.procedure.MasterProcedureUtil.submitProcedure(MasterProcedureUtil.java:134)

at org.apache.hadoop.hbase.master.HMaster.modifyTable(HMaster.java:2523)

at org.apache.hadoop.hbase.master.HMaster.modifyTable(HMaster.java:2560)

at org.apache.hadoop.hbase.master.MasterRpcServices.modifyTable(MasterRpcServices.java:1316)

at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)

at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413)

... 3 more

Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.coprocessor.BaseRegionObserver

at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at org.apache.hadoop.hbase.util.CoprocessorClassLoader.loadClass(CoprocessorClassLoader.java:300)

at org.apache.hadoop.hbase.util.CoprocessorClassLoader.loadClass(CoprocessorClassLoader.java:289)

... 25 more


Please help me in solving this issue.


Regards,

Debasish

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