Re: Coprocessor exception in ResionServer log

2016-10-10 Thread Ted Yu
Can you outline the steps taken in hbase shell ?

If you can show skeleton of your endpoint, that may help as well. 

Lastly, consider upgrading :-)

Cheers

> On Oct 10, 2016, at 8:54 PM, big data  wrote:
> 
> I use the static load method, it seems ok...
> 
> why it can not running in dynamic load method?
> 
> 
> 
>> 在 16/10/11 上午10:18, big data 写道:
>> No, it is the original log from hbase, no missing.
>> 
>> I'll try it through hbase-site.xml.
>> 
>> thanks
>> 
>> 
>> 
>>> 在 16/10/11 上午10:05, Ted Yu 写道:
>>> bq. have different Class objects for the type otobuf/Service
>>> 
>>> Was the above copied verbatim ?
>>> 
>>> I wonder why protobuf was cut off.
>>> 
>>> If you deploy through hbase.coprocessor.region.classes in hbase-site.xml,
>>> do you still have the same error ?
>>> 
>>> Cheers
>>> 
 On Mon, Oct 10, 2016 at 6:43 PM, big data  wrote:
 
 [INFO] Scanning for projects...
 [INFO]
 [INFO]
 
 [INFO] Building bitmapdemo 1.0-SNAPSHOT
 [INFO]
 
 Downloading:
 https://repo.maven.apache.org/maven2/org/roaringbitmap/
 RoaringBitmap/maven-metadata.xml
 Downloaded:
 https://repo.maven.apache.org/maven2/org/roaringbitmap/
 RoaringBitmap/maven-metadata.xml
 (3 KB at 1.0 KB/sec)
 [INFO]
 [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ demo ---
 [INFO] com.demo:jar:1.0-SNAPSHOT
 [INFO] +- org.apache.hadoop:hadoop-client:jar:2.6.0:compile
 [INFO] |  +- org.apache.hadoop:hadoop-hdfs:jar:2.6.0:compile
 [INFO] |  |  +- io.netty:netty:jar:3.6.2.Final:compile
 [INFO] |  |  \- xerces:xercesImpl:jar:2.9.1:compile
 [INFO] |  | \- xml-apis:xml-apis:jar:1.3.04:compile
 [INFO] |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.
 0:compile
 [INFO] |  |  +-
 org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.6.0:compile
 [INFO] |  |  |  +- org.apache.hadoop:hadoop-yarn-client:jar:2.6.0:compile
 [INFO] |  |  |  \-
 org.apache.hadoop:hadoop-yarn-server-common:jar:2.6.0:compile
 [INFO] |  |  \-
 org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.6.0:compile
 [INFO] |  | \- org.fusesource.leveldbjni:
 leveldbjni-all:jar:1.8:compile
 [INFO] |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.0:compile
 [INFO] |  +-
 org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.0:compile
 [INFO] |  |  \- org.apache.hadoop:hadoop-yarn-common:jar:2.6.0:compile
 [INFO] |  | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
 [INFO] |  | |  +- javax.xml.stream:stax-api:jar:1.0-2:compile
 [INFO] |  | |  \- javax.activation:activation:jar:1.1:compile
 [INFO] |  | \- com.sun.jersey:jersey-client:jar:1.9:compile
 [INFO] |  +-
 org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.6.0:compile
 [INFO] |  \- org.apache.hadoop:hadoop-annotations:jar:2.6.0:compile
 [INFO] +- org.apache.hadoop:hadoop-common:jar:2.6.0:compile
 [INFO] |  +- com.google.guava:guava:jar:11.0.2:compile
 [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
 [INFO] |  +- org.apache.commons:commons-math3:jar:3.1.1:compile
 [INFO] |  +- xmlenc:xmlenc:jar:0.52:compile
 [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
 [INFO] |  +- commons-codec:commons-codec:jar:1.4:compile
 [INFO] |  +- commons-io:commons-io:jar:2.4:compile
 [INFO] |  +- commons-net:commons-net:jar:3.1:compile
 [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
 [INFO] |  +- javax.servlet:servlet-api:jar:2.5:compile
 [INFO] |  +- org.mortbay.jetty:jetty:jar:6.1.26:compile
 [INFO] |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
 [INFO] |  +- com.sun.jersey:jersey-core:jar:1.9:compile
 [INFO] |  +- com.sun.jersey:jersey-json:jar:1.9:compile
 [INFO] |  |  +- org.codehaus.jettison:jettison:jar:1.1:compile
 [INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
 [INFO] |  |  \- org.codehaus.jackson:jackson-xc:jar:1.8.3:compile
 [INFO] |  +- com.sun.jersey:jersey-server:jar:1.9:compile
 [INFO] |  |  \- asm:asm:jar:3.1:compile
 [INFO] |  +- tomcat:jasper-compiler:jar:5.5.23:compile
 [INFO] |  +- tomcat:jasper-runtime:jar:5.5.23:runtime
 [INFO] |  +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
 [INFO] |  +- commons-el:commons-el:jar:1.0:runtime
 [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
 [INFO] |  +- log4j:log4j:jar:1.2.17:compile
 [INFO] |  +- net.java.dev.jets3t:jets3t:jar:0.9.0:compile
 [INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
 [INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.1.2:compile
 [INFO] |  |  \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
 [INFO] |  +- 

Re: Coprocessor exception in ResionServer log

2016-10-10 Thread big data
I use the static load method, it seems ok...

why it can not running in dynamic load method?



在 16/10/11 上午10:18, big data 写道:
> No, it is the original log from hbase, no missing.
>
> I'll try it through hbase-site.xml.
>
> thanks
>
>
>
> 在 16/10/11 上午10:05, Ted Yu 写道:
>> bq. have different Class objects for the type otobuf/Service
>>
>> Was the above copied verbatim ?
>>
>> I wonder why protobuf was cut off.
>>
>> If you deploy through hbase.coprocessor.region.classes in hbase-site.xml,
>> do you still have the same error ?
>>
>> Cheers
>>
>> On Mon, Oct 10, 2016 at 6:43 PM, big data  wrote:
>>
>>> [INFO] Scanning for projects...
>>> [INFO]
>>> [INFO]
>>> 
>>> [INFO] Building bitmapdemo 1.0-SNAPSHOT
>>> [INFO]
>>> 
>>> Downloading:
>>> https://repo.maven.apache.org/maven2/org/roaringbitmap/
>>> RoaringBitmap/maven-metadata.xml
>>> Downloaded:
>>> https://repo.maven.apache.org/maven2/org/roaringbitmap/
>>> RoaringBitmap/maven-metadata.xml
>>> (3 KB at 1.0 KB/sec)
>>> [INFO]
>>> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ demo ---
>>> [INFO] com.demo:jar:1.0-SNAPSHOT
>>> [INFO] +- org.apache.hadoop:hadoop-client:jar:2.6.0:compile
>>> [INFO] |  +- org.apache.hadoop:hadoop-hdfs:jar:2.6.0:compile
>>> [INFO] |  |  +- io.netty:netty:jar:3.6.2.Final:compile
>>> [INFO] |  |  \- xerces:xercesImpl:jar:2.9.1:compile
>>> [INFO] |  | \- xml-apis:xml-apis:jar:1.3.04:compile
>>> [INFO] |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.
>>> 0:compile
>>> [INFO] |  |  +-
>>> org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.6.0:compile
>>> [INFO] |  |  |  +- org.apache.hadoop:hadoop-yarn-client:jar:2.6.0:compile
>>> [INFO] |  |  |  \-
>>> org.apache.hadoop:hadoop-yarn-server-common:jar:2.6.0:compile
>>> [INFO] |  |  \-
>>> org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.6.0:compile
>>> [INFO] |  | \- org.fusesource.leveldbjni:
>>> leveldbjni-all:jar:1.8:compile
>>> [INFO] |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.0:compile
>>> [INFO] |  +-
>>> org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.0:compile
>>> [INFO] |  |  \- org.apache.hadoop:hadoop-yarn-common:jar:2.6.0:compile
>>> [INFO] |  | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
>>> [INFO] |  | |  +- javax.xml.stream:stax-api:jar:1.0-2:compile
>>> [INFO] |  | |  \- javax.activation:activation:jar:1.1:compile
>>> [INFO] |  | \- com.sun.jersey:jersey-client:jar:1.9:compile
>>> [INFO] |  +-
>>> org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.6.0:compile
>>> [INFO] |  \- org.apache.hadoop:hadoop-annotations:jar:2.6.0:compile
>>> [INFO] +- org.apache.hadoop:hadoop-common:jar:2.6.0:compile
>>> [INFO] |  +- com.google.guava:guava:jar:11.0.2:compile
>>> [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
>>> [INFO] |  +- org.apache.commons:commons-math3:jar:3.1.1:compile
>>> [INFO] |  +- xmlenc:xmlenc:jar:0.52:compile
>>> [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
>>> [INFO] |  +- commons-codec:commons-codec:jar:1.4:compile
>>> [INFO] |  +- commons-io:commons-io:jar:2.4:compile
>>> [INFO] |  +- commons-net:commons-net:jar:3.1:compile
>>> [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
>>> [INFO] |  +- javax.servlet:servlet-api:jar:2.5:compile
>>> [INFO] |  +- org.mortbay.jetty:jetty:jar:6.1.26:compile
>>> [INFO] |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
>>> [INFO] |  +- com.sun.jersey:jersey-core:jar:1.9:compile
>>> [INFO] |  +- com.sun.jersey:jersey-json:jar:1.9:compile
>>> [INFO] |  |  +- org.codehaus.jettison:jettison:jar:1.1:compile
>>> [INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
>>> [INFO] |  |  \- org.codehaus.jackson:jackson-xc:jar:1.8.3:compile
>>> [INFO] |  +- com.sun.jersey:jersey-server:jar:1.9:compile
>>> [INFO] |  |  \- asm:asm:jar:3.1:compile
>>> [INFO] |  +- tomcat:jasper-compiler:jar:5.5.23:compile
>>> [INFO] |  +- tomcat:jasper-runtime:jar:5.5.23:runtime
>>> [INFO] |  +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
>>> [INFO] |  +- commons-el:commons-el:jar:1.0:runtime
>>> [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
>>> [INFO] |  +- log4j:log4j:jar:1.2.17:compile
>>> [INFO] |  +- net.java.dev.jets3t:jets3t:jar:0.9.0:compile
>>> [INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
>>> [INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.1.2:compile
>>> [INFO] |  |  \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
>>> [INFO] |  +- commons-lang:commons-lang:jar:2.6:compile
>>> [INFO] |  +- commons-configuration:commons-configuration:jar:1.6:compile
>>> [INFO] |  |  +- commons-digester:commons-digester:jar:1.8:compile
>>> [INFO] |  |  |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
>>> [INFO] |  |  \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
>>> [INFO] |  +- 

Re: Coprocessor exception in ResionServer log

2016-10-10 Thread big data
No, it is the original log from hbase, no missing.

I'll try it through hbase-site.xml.

thanks



在 16/10/11 上午10:05, Ted Yu 写道:
> bq. have different Class objects for the type otobuf/Service
>
> Was the above copied verbatim ?
>
> I wonder why protobuf was cut off.
>
> If you deploy through hbase.coprocessor.region.classes in hbase-site.xml,
> do you still have the same error ?
>
> Cheers
>
> On Mon, Oct 10, 2016 at 6:43 PM, big data  wrote:
>
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO]
>> 
>> [INFO] Building bitmapdemo 1.0-SNAPSHOT
>> [INFO]
>> 
>> Downloading:
>> https://repo.maven.apache.org/maven2/org/roaringbitmap/
>> RoaringBitmap/maven-metadata.xml
>> Downloaded:
>> https://repo.maven.apache.org/maven2/org/roaringbitmap/
>> RoaringBitmap/maven-metadata.xml
>> (3 KB at 1.0 KB/sec)
>> [INFO]
>> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ demo ---
>> [INFO] com.demo:jar:1.0-SNAPSHOT
>> [INFO] +- org.apache.hadoop:hadoop-client:jar:2.6.0:compile
>> [INFO] |  +- org.apache.hadoop:hadoop-hdfs:jar:2.6.0:compile
>> [INFO] |  |  +- io.netty:netty:jar:3.6.2.Final:compile
>> [INFO] |  |  \- xerces:xercesImpl:jar:2.9.1:compile
>> [INFO] |  | \- xml-apis:xml-apis:jar:1.3.04:compile
>> [INFO] |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.
>> 0:compile
>> [INFO] |  |  +-
>> org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.6.0:compile
>> [INFO] |  |  |  +- org.apache.hadoop:hadoop-yarn-client:jar:2.6.0:compile
>> [INFO] |  |  |  \-
>> org.apache.hadoop:hadoop-yarn-server-common:jar:2.6.0:compile
>> [INFO] |  |  \-
>> org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.6.0:compile
>> [INFO] |  | \- org.fusesource.leveldbjni:
>> leveldbjni-all:jar:1.8:compile
>> [INFO] |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.0:compile
>> [INFO] |  +-
>> org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.0:compile
>> [INFO] |  |  \- org.apache.hadoop:hadoop-yarn-common:jar:2.6.0:compile
>> [INFO] |  | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
>> [INFO] |  | |  +- javax.xml.stream:stax-api:jar:1.0-2:compile
>> [INFO] |  | |  \- javax.activation:activation:jar:1.1:compile
>> [INFO] |  | \- com.sun.jersey:jersey-client:jar:1.9:compile
>> [INFO] |  +-
>> org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.6.0:compile
>> [INFO] |  \- org.apache.hadoop:hadoop-annotations:jar:2.6.0:compile
>> [INFO] +- org.apache.hadoop:hadoop-common:jar:2.6.0:compile
>> [INFO] |  +- com.google.guava:guava:jar:11.0.2:compile
>> [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
>> [INFO] |  +- org.apache.commons:commons-math3:jar:3.1.1:compile
>> [INFO] |  +- xmlenc:xmlenc:jar:0.52:compile
>> [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
>> [INFO] |  +- commons-codec:commons-codec:jar:1.4:compile
>> [INFO] |  +- commons-io:commons-io:jar:2.4:compile
>> [INFO] |  +- commons-net:commons-net:jar:3.1:compile
>> [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
>> [INFO] |  +- javax.servlet:servlet-api:jar:2.5:compile
>> [INFO] |  +- org.mortbay.jetty:jetty:jar:6.1.26:compile
>> [INFO] |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
>> [INFO] |  +- com.sun.jersey:jersey-core:jar:1.9:compile
>> [INFO] |  +- com.sun.jersey:jersey-json:jar:1.9:compile
>> [INFO] |  |  +- org.codehaus.jettison:jettison:jar:1.1:compile
>> [INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
>> [INFO] |  |  \- org.codehaus.jackson:jackson-xc:jar:1.8.3:compile
>> [INFO] |  +- com.sun.jersey:jersey-server:jar:1.9:compile
>> [INFO] |  |  \- asm:asm:jar:3.1:compile
>> [INFO] |  +- tomcat:jasper-compiler:jar:5.5.23:compile
>> [INFO] |  +- tomcat:jasper-runtime:jar:5.5.23:runtime
>> [INFO] |  +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
>> [INFO] |  +- commons-el:commons-el:jar:1.0:runtime
>> [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
>> [INFO] |  +- log4j:log4j:jar:1.2.17:compile
>> [INFO] |  +- net.java.dev.jets3t:jets3t:jar:0.9.0:compile
>> [INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
>> [INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.1.2:compile
>> [INFO] |  |  \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
>> [INFO] |  +- commons-lang:commons-lang:jar:2.6:compile
>> [INFO] |  +- commons-configuration:commons-configuration:jar:1.6:compile
>> [INFO] |  |  +- commons-digester:commons-digester:jar:1.8:compile
>> [INFO] |  |  |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
>> [INFO] |  |  \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
>> [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.5:compile
>> [INFO] |  +- org.slf4j:slf4j-log4j12:jar:1.7.5:compile
>> [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
>> [INFO] |  +- 

Re: Coprocessor exception in ResionServer log

2016-10-10 Thread Ted Yu
bq. have different Class objects for the type otobuf/Service

Was the above copied verbatim ?

I wonder why protobuf was cut off.

If you deploy through hbase.coprocessor.region.classes in hbase-site.xml,
do you still have the same error ?

Cheers

On Mon, Oct 10, 2016 at 6:43 PM, big data  wrote:

> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> 
> [INFO] Building bitmapdemo 1.0-SNAPSHOT
> [INFO]
> 
> Downloading:
> https://repo.maven.apache.org/maven2/org/roaringbitmap/
> RoaringBitmap/maven-metadata.xml
> Downloaded:
> https://repo.maven.apache.org/maven2/org/roaringbitmap/
> RoaringBitmap/maven-metadata.xml
> (3 KB at 1.0 KB/sec)
> [INFO]
> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ demo ---
> [INFO] com.demo:jar:1.0-SNAPSHOT
> [INFO] +- org.apache.hadoop:hadoop-client:jar:2.6.0:compile
> [INFO] |  +- org.apache.hadoop:hadoop-hdfs:jar:2.6.0:compile
> [INFO] |  |  +- io.netty:netty:jar:3.6.2.Final:compile
> [INFO] |  |  \- xerces:xercesImpl:jar:2.9.1:compile
> [INFO] |  | \- xml-apis:xml-apis:jar:1.3.04:compile
> [INFO] |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.
> 0:compile
> [INFO] |  |  +-
> org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.6.0:compile
> [INFO] |  |  |  +- org.apache.hadoop:hadoop-yarn-client:jar:2.6.0:compile
> [INFO] |  |  |  \-
> org.apache.hadoop:hadoop-yarn-server-common:jar:2.6.0:compile
> [INFO] |  |  \-
> org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.6.0:compile
> [INFO] |  | \- org.fusesource.leveldbjni:
> leveldbjni-all:jar:1.8:compile
> [INFO] |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.0:compile
> [INFO] |  +-
> org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.0:compile
> [INFO] |  |  \- org.apache.hadoop:hadoop-yarn-common:jar:2.6.0:compile
> [INFO] |  | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
> [INFO] |  | |  +- javax.xml.stream:stax-api:jar:1.0-2:compile
> [INFO] |  | |  \- javax.activation:activation:jar:1.1:compile
> [INFO] |  | \- com.sun.jersey:jersey-client:jar:1.9:compile
> [INFO] |  +-
> org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.6.0:compile
> [INFO] |  \- org.apache.hadoop:hadoop-annotations:jar:2.6.0:compile
> [INFO] +- org.apache.hadoop:hadoop-common:jar:2.6.0:compile
> [INFO] |  +- com.google.guava:guava:jar:11.0.2:compile
> [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
> [INFO] |  +- org.apache.commons:commons-math3:jar:3.1.1:compile
> [INFO] |  +- xmlenc:xmlenc:jar:0.52:compile
> [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
> [INFO] |  +- commons-codec:commons-codec:jar:1.4:compile
> [INFO] |  +- commons-io:commons-io:jar:2.4:compile
> [INFO] |  +- commons-net:commons-net:jar:3.1:compile
> [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
> [INFO] |  +- javax.servlet:servlet-api:jar:2.5:compile
> [INFO] |  +- org.mortbay.jetty:jetty:jar:6.1.26:compile
> [INFO] |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
> [INFO] |  +- com.sun.jersey:jersey-core:jar:1.9:compile
> [INFO] |  +- com.sun.jersey:jersey-json:jar:1.9:compile
> [INFO] |  |  +- org.codehaus.jettison:jettison:jar:1.1:compile
> [INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
> [INFO] |  |  \- org.codehaus.jackson:jackson-xc:jar:1.8.3:compile
> [INFO] |  +- com.sun.jersey:jersey-server:jar:1.9:compile
> [INFO] |  |  \- asm:asm:jar:3.1:compile
> [INFO] |  +- tomcat:jasper-compiler:jar:5.5.23:compile
> [INFO] |  +- tomcat:jasper-runtime:jar:5.5.23:runtime
> [INFO] |  +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
> [INFO] |  +- commons-el:commons-el:jar:1.0:runtime
> [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
> [INFO] |  +- log4j:log4j:jar:1.2.17:compile
> [INFO] |  +- net.java.dev.jets3t:jets3t:jar:0.9.0:compile
> [INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
> [INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.1.2:compile
> [INFO] |  |  \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
> [INFO] |  +- commons-lang:commons-lang:jar:2.6:compile
> [INFO] |  +- commons-configuration:commons-configuration:jar:1.6:compile
> [INFO] |  |  +- commons-digester:commons-digester:jar:1.8:compile
> [INFO] |  |  |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
> [INFO] |  |  \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
> [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.5:compile
> [INFO] |  +- org.slf4j:slf4j-log4j12:jar:1.7.5:compile
> [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
> [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
> [INFO] |  +- org.apache.avro:avro:jar:1.7.4:compile
> [INFO] |  |  +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
> [INFO] |  |  \- org.xerial.snappy:snappy-java:jar:1.0.4.1:compile
> [INFO] |  +- 

Re: Coprocessor exception in ResionServer log

2016-10-10 Thread Ted Yu
Could be related to incompatible protobuf versions.

What's the output of:
mvn dependency:tree

Please pastebin it - it should be fairly long.

On Mon, Oct 10, 2016 at 6:29 PM, big data  wrote:

> 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?
>
> thanks.
>
>
> My pom like this:
>
> 
> org.apache.hadoop
> hadoop-client
> 2.6.0
> 
> 
> org.apache.hadoop
> hadoop-common
> 2.6.0
> 
> 
> org.apache.hbase
> hbase-server
> 1.0.1
> 
>
>
>