http://apache-kylin.74782.x6.nabble.com/java-lang-NoSuchMethodError-org-apache-hadoop-hbase-coprocessor-RegionCoprocessorEnvironment-getRegi-td4698.html

2017-03-02 19:55 GMT+08:00 changzhenmail@foxmail.com <changzhenmail@foxmail.com>:

I have problem when  submit  a new query  

Environment :Hadoop 2.5.2  Hbase 1.0.3 hive 2.0.0

Below is error logs:

Error while executing SQL "select * from ZLJD_PRODUCTINFO LIMIT 50000": org.apache.hadoop.hbase.DoNotRetryIOException: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment.getRegion()Lorg/apache/hadoop/hbase/regionserver/Region; at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2080) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:111) at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133) at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment.getRegion()Lorg/apache/hadoop/hbase/regionserver/Region; at org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.CubeVisitService.visitCube(CubeVisitService.java:182) at org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos$CubeVisitService.callMethod(CubeVisitProtos.java:4117) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:6363) at org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:1730) at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1712) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:31537) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2049) ... 4 more

so anyone have anu solution for this.

thanks
                  






--