Hi all,

I have a region coprocessor endpoint, and use static load method to deploy it.

And in regionserver I can see the log that is has been loaded, also I can see 
the coprocessor in the RegionServer's Web UI.

However, when I use the endpoint to do some query, it fail with

```
org.apache.hadoop.hbase.exceptions.UnknownProtocolException: 
org.apache.hadoop.hbase.exceptions.UnknownProtocolException: No registered 
coprocessor service found for QueryService in region 
ID_Temporal_query_test1-OBJECT_ID_T-default, .....
```

It seems like the coprocessor is not successfully load, but in master and 
regionserver log, all I can get about my endpoint said nothing strange about 
this.

```

INFO (CoprocessorHost.java:174) 03-02 10:26:05,488 System coprocessor 
cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint loaded, 
priority=536870911.

INFO (CoprocessorHost.java:174) 03-02 10:26:05,488 System coprocessor 
cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint loaded, 
priority=536870911.

INFO (CoprocessorHost.java:174) 03-02 10:26:05,488 System coprocessor 
cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint loaded, 
priority=536870911.

INFO (CoprocessorHost.java:174) 03-02 10:26:05,622 System coprocessor 
cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint loaded, 
priority=536870911.

INFO (CoprocessorHost.java:174) 03-02 10:26:05,625 System coprocessor 
cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint loaded, 
priority=536870911.

INFO (CoprocessorHost.java:174) 03-02 10:26:05,655 System coprocessor 
cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint loaded, 
priority=536870911.

INFO (CoprocessorHost.java:174) 03-02 10:26:05,711 System coprocessor 
cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint loaded, 
priority=536870911.

INFO (GlobalMetricRegistriesAdapter.java:134) 03-02 10:26:15,296 Registering 
RegionServer,sub=Coprocessor.Region.CP_cn.edu.whu.trajspark.query.coprocessor.STQueryEndPoint
 Metrics about HBase RegionObservers

```
Can any one give me some advice on this?

Reply via email to