多维数据集构建成功,但是当我执行查询时,它失败了。我在kylin日志中看到一些错误:
row '' on table 'KYLIN_YOXDG8IFUG' at region=KYLIN_YOXDG8IFUG,,1530781229836.54d7d7df661d9bfd0b254886a0f3cffa., hostname=cluster-slave2,16020,1531217336503, seqNum=12
2018-07-10 11:11:39,337 INFO [kylin-coproc--pool3-t96] client.RpcRetryingCaller:147 : Call exception, tries=15, retries=35, started=129079 ms ago, cancelled=false, msg=java.io.IOException
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2379)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:123)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168)
Caused by: java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:500)
at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:135)
at org.apache.kylin.common.util.BytesUtil.readVLong(BytesUtil.java:235)
at org.apache.kylin.common.util.BytesUtil.readVInt(BytesUtil.java:250)
at org.apache.kylin.common.util.BytesUtil.readByteArray(BytesUtil.java:371)
at org.apache.kylin.common.util.ImmutableBitSet$1.deserialize(ImmutableBitSet.java:168)
at org.apache.kylin.common.util.ImmutableBitSet$1.deserialize(ImmutableBitSet.java:160)
at org.apache.kylin.gridtable.GTScanRequest$2.deserialize(GTScanRequest.java:503)
at org.apache.kylin.gridtable.GTScanRequest$2.deserialize(GTScanRequest.java:412)
at org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.CubeVisitService.visitCube(CubeVisitService.java:258)
at org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos$CubeVisitService.callMethod(CubeVisitProtos.java:5555)
at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:8077)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2056)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2038)
at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:34954)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2328)
... 3 more
row '' on table 'KYLIN_7YB9FOJ0US' at region=KYLIN_7YB9FOJ0US,,1530617332768.9428745c4a7d834c7d1eed273a1039e4., hostname=cluster-slave1,16020,1531217336578, seqNum=9
2018-07-10 11:11:45,273 INFO [BadQueryDetector] service.BadQueryDetector:204 : Slow query has been running 135.199 seconds (project:learn_kylin, thread: 0x3d, user:ADMIN, query id:34c8b18d-2e79-4440-b309-9b3222d7e44f) -- select minute_start, count(*), sum(amount), sum(qty) from KYLIN_STREAMING_KAFKA_DATA group by minute_start order by minute_start
2018-07-10 11:11:45,274 DEBUG [BadQueryDetector] badquery.BadQueryHistoryManager:65 : Loaded 1 Bad Query(s)
2018-07-10 11:11:45,277 INFO [BadQueryDetector] service.BadQueryDetector:192 : Problematic thread 0x3d Query 34c8b18d-2e79-4440-b309-9b3222d7e44f-61, query id: 34c8b18d-2e79-4440-b309-9b3222d7e44f
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:418)
at org.apache.kylin.storage.hbase.cube.v2.ExpectedSizeIterator.next(ExpectedSizeIterator.java:66)
at org.apache.kylin.storage.hbase.cube.v2.ExpectedSizeIterator.next(ExpectedSizeIterator.java:32)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at org.apache.kylin.storage.gtrecord.SortMergedPartitionResultIterator.hasNext(SortMergedPartitionResultIterator.java:70)
at com.google.common.collect.Iterators$PeekingImpl.hasNext(Iterators.java:1216)
at org.apache.kylin.gridtable.GTStreamAggregateScanner$AbstractStreamMergeIterator.hasNext(GTStreamAggregateScanner.java:80)
我可以扫描出现在日志中的表。因此hbase正常。有人知道是什么问题吗?