hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From big data <bigdatab...@outlook.com>
Subject Coprocessor exception in ResionServer log
Date Tue, 11 Oct 2016 01:29:24 GMT
Dear all,

I've created an Endpoint coprocessor, and deployed it through hbase shell.

Then when I run client code, when code

response = rpcCallback.get();

rpcCallback.get() return null;

in the resion server log, i found this exception:

2016-10-10 15:50:07,636 ERROR org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost:
Failed to load coprocessor AndEndPoint

java.lang.LinkageError: loader constraint violation in interface itable initialization: when
resolving method
"AndEndPoint.getService()Lcom/google/protobuf/Service;" the class loader (instance of
org/apache/hadoop/hbase/util/CoprocessorClassLoader) of the current class, AndEndPoint, and
the class loader (instance of
sun/misc/Launcher$AppClassLoader) for interface org/apache/hadoop/hbase/coprocessor/CoprocessorService
have different Class objects for
the type otobuf/Service; used in the signature

Any solution to solve this problem?


My pom like this:


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message