eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EAGLE-520) Decouple Co-processor with Eagle Aggreation Query Service
Date Tue, 28 Mar 2017 09:15:41 GMT

    [ https://issues.apache.org/jira/browse/EAGLE-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944843#comment-15944843
] 

ASF GitHub Bot commented on EAGLE-520:
--------------------------------------

Github user linzhonghong commented on the issue:

    https://github.com/apache/eagle/pull/417
  
    @haoch hi, i find the coprocessor exception here: https://issues.apache.org/jira/browse/EAGLE-520
    i view all commits in this PR, but  i cant not find which commit is to fix it? 
    how can i fix this exception? thanks!
    
    ```java
    ABORTING region server sandbox.hortonworks.com,60020,1473225565436: The coprocessor org.apache.eagle.storage.hbase.query.coprocessor.AggregateProtocolEndPoint
threw an unexpected exception
    Cause:
    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/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 interface org/apache/hadoop/hbase/coprocessor/CoprocessorService
have different Class objects for the type com/google/protobuf/Service used in the signature
            at java.lang.Class.getDeclaredConstructors0(Native Method)
            at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
            at java.lang.Class.getConstructor0(Class.java:3075)
            at java.lang.Class.newInstance(Class.java:412)
            at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadInstance(CoprocessorHost.java:247)
            at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.load(CoprocessorHost.java:210)
            at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.loadTableCoprocessors(RegionCoprocessorHost.java:301)
            at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.<init>(RegionCoprocessorHost.java:200)
            at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:701)
            at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:608)
            at sun.reflect.GeneratedConstructorAccessor70.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
            at org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5438)
            at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5749)
            at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5722)
            at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5678)
            at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5629)
            at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:465)
            at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:139)
            at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
    ```


> Decouple Co-processor with Eagle Aggreation Query Service
> ---------------------------------------------------------
>
>                 Key: EAGLE-520
>                 URL: https://issues.apache.org/jira/browse/EAGLE-520
>             Project: Eagle
>          Issue Type: Improvement
>    Affects Versions: v0.4.0
>            Reporter: Hao Chen
>            Assignee: Hao Chen
>             Fix For: v0.5.0
>
>
> h2. Done
> * Fix AggregateResultCallback test case
> * Fix configuration and Unit test on hbase
> * Support GenericInMemoryAggregateQuery when coprocessor is not enabled and faster-xml
as default json library
> * Fix unit test: TestGenericServiceAPIResponseEntity
> * Fix coprocessor-based aggregation query.
> * Add Coprocessor integration test: CoprocessorITSuite
> * Add coprocessor tool: 
> {code}
> usage: java org.apache.eagle.storage.hbase.tools.CoprocessorTool
>             [--register/--unregister] [OPTIONS]
>  -config <arg>     Configuration file
>  -jar <arg>        Coprocessor target jar path
>  -localJar <arg>   Coprocessor local source jar path
>  -register         Register coprocessor
>  -table <arg>      HBase table name, separated with comma, for example,
>                    table1,table2,..
>  -unregister       Unregister coprocessor
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message