trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Birdsall <dave.birds...@esgyn.com>
Subject Class not found error while running a regression test
Date Tue, 15 Dec 2015 20:35:46 GMT
Hi,



While regression testing some changes this morning, I encounted the
following failure in regression test seabase/TEST022:



>>select count(*) from t022t1;



*** ERROR[8448] Unable to access Hbase interface. Call to
ExpHbaseInterface::coProcAggr returned error HBASE_ACCESS_ERROR(-706).
Cause:

org.apache.hadoop.hbase.DoNotRetryIOException:
org.apache.hadoop.hbase.DoNotRetryIOException:
java.lang.NoClassDefFoundError:
org/apache/hadoop/hbase/coprocessor/transactional/generated/TrxRegionProtos$TransactionalAggregateRequest

                at
org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2067)

                at
org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)

                at
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:116)

                at
org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:96)

                at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NoClassDefFoundError:
org/apache/hadoop/hbase/coprocessor/transactional/generated/TrxRegionProtos$TransactionalAggregateRequest

                at
org.apache.hadoop.hbase.coprocessor.transactional.generated.TrxRegionProtos@volume
@.getRequestPrototype(TrxRegionProtos.java:32131)

                at
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5676)

                at
org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3421)

                at
org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3403)

                at
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29929)

                at
org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2031)

                ... 4 more



sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

java.lang.reflect.Constructor.newInstance(Constructor.java:526)

org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)

org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)

org.apache.hadoop.hbase.protobuf.ProtobufUtil.getRemoteException(ProtobufUtil.java:304)

org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(ProtobufUtil.java:1627)

org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$1.call(RegionCoprocessorRpcChannel.java:93)

org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$1.call(RegionCoprocessorRpcChannel.java:90)

org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:114)

org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:90)

org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel.callExecService(RegionCoprocessorRpcChannel.java:96)

org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel.callMethod(CoprocessorRpcChannel.java:57)

org.apache.hadoop.hbase.coprocessor.transactional.generated.TrxRegionProtos$TrxRegionService@volume
@.getRowNum(TrxRegionProtos.java:32559)

org.apache.hadoop.hbase.client.transactional.TransactionalAggregationClient$3.call(TransactionalAggregationClient.java:346)

org.apache.hadoop.hbase.client.transactional.TransactionalAggregationClient$3.call(TransactionalAggregationClient.java:340)

org.apache.hadoop.hbase.client.HTable$17.call(HTable.java:1571)

java.util.concurrent.FutureTask.run(FutureTask.java:262)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

java.util.concurrent.ThreadPoolExecutor@volume
@.run(ThreadPoolExecutor.java:615)

java.lang.Thread.run(Thread.java:745)

.



--- 0 row(s) selected.



Oddly, I can go into a sqlci session, create a table, do a “select
count(*)” from it using a coprocessor plan, and it runs fine.



The change I made was to the SQL HBaseClient.java file, which should not be
in the DTM code path. So I’m puzzled why I would get this failure. Perhaps
I need to do something different while building?



Thanks,



Dave

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message