Hi, 钟洪,
     The problem you mentioned is eagle's Bug, please pay attention to 
https://issues.apache.org/jira/browse/EAGLE-520. 
     You can use the latest version.



Best Regards,
Lingang Deng
 
发件人: 林钟洪
发送时间: 2017-03-27 15:41
收件人: [email protected]
主题: eagle hbase Coprocessor class loader conflict
Hi, I add the eagle hbase coprocessor(AggregateProtocolEndPoint) to a hbase 
table, but it throws a class loader conflict,
Here is the error message:
 
coprocessor.CoprocessorHost: The coprocessor 
org.apache.eagle.storage.hbase.query.coprocessor.AggregateProtocolEndPoint 
threw java.lang.LinkageError: loader cons
traint violation in interface itable initialization: when resolving method 
"org.apache.eagle.storage.hbase.query.coprocessor.AggregateProtocolEndPoint.getService()Lcom/google/protobuf/Service;"
 the class loader (instance of
org/apache/hadoop/hbase/util/CoprocessorClassLoader) of the current class, 
org/apache/eagle/storage/hbase/query/coprocessor/AggregateProtocolEndPoint, and 
the class loader (instance of sun/misc/Launcher$AppClassLoader) for i
nterface org/apache/hadoop/hbase/coprocessor/CoprocessorService have different 
Class objects for the type 
uery.coprocessor.AggregateProtocolEndPoint.getService()Lcom/google/protobuf/Service;
 used in the signature
java.lang.LinkageError: loader constraint violation in interface itable 
initialization: when resolving method 
"org.apache.eagle.storage.hbase.query.coprocessor.AggregateProtocolEndPoint.getService()Lcom/google/protobuf/Servi
ce;" the class loader (instance of 
org/apache/hadoop/hbase/util/CoprocessorClassLoader) of the current class, 
org/apache/eagle/storage/hbase/query/coprocessor/AggregateProtocolEndPoint, 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 
uery.coprocessor.AggregateProtocolEndPoint.getService()Lcom/google/protobuf/Service
; used in the signature
 
 
 
This is my command to register the coprocessor
 
./eagle-run-class.sh org.apache.eagle.storage.hbase.tools.CoprocessorTool -jar 
jars/eagle-topology-0.4.0-incubating-assembly.jar -localJar 
../lib/topology/eagle-topology-0.4.0-incubating-assembly.jar -register 
org.apache.eagle.storage.hbase.query.coprocessor.AggregateProtocolEndPoint 
-table eagle_metric -config ../conf/core-site.xml
 
Thank you all!

Reply via email to