[
https://issues.apache.org/jira/browse/KYLIN-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026728#comment-17026728
]
Shao Feng Shi commented on KYLIN-4363:
--------------------------------------
The KYLIN-4322 ("f41c6c8198e5cad295e9212c6a0047d83bd54ae2") changed the default
setting "kylin.storage.hbase.endpoint-compress-result" from "TRUE" to "FALSE";
But Kylin has old version registered in HBase coprocessor, which still uses the
old "TRUE"; That means, hbase side will compress the returned bytes, but the
client (Kylin) side will treat it as uncompressed, then unexpected error
happenes.
When I manually changed the default setting back to "TRUE", the query becomes
normal. Another solution should be upgrading the HBase coprocessor I believe,
both will make the settings consistent again.
But, as many users are running Kylin in production, having many HBase tables.
Updating coprocessor will take a long time and will bring service outage. So
unless necessary, we shouldn't change default settings.
> Query failed with "I failed to find one of the right cookies" error
> -------------------------------------------------------------------
>
> Key: KYLIN-4363
> URL: https://issues.apache.org/jira/browse/KYLIN-4363
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: v3.1.0
> Reporter: Shao Feng Shi
> Priority: Major
>
> {code:java}
> // code placeholder
> Caused by: java.lang.RuntimeException: I failed to find one of the right
> cookies. 1701223222Caused by: java.lang.RuntimeException: I failed to find
> one of the right cookies. 1701223222 at
> org.roaringbitmap.buffer.ImmutableRoaringArray.<init>(ImmutableRoaringArray.java:46)
> at
> org.roaringbitmap.buffer.ImmutableRoaringBitmap.<init>(ImmutableRoaringBitmap.java:908)
> at
> org.apache.kylin.measure.bitmap.RoaringBitmapCounter.peekLength(RoaringBitmapCounter.java:141)
> at
> org.apache.kylin.measure.bitmap.BitmapSerializer.peekLength(BitmapSerializer.java:69)
> at
> org.apache.kylin.cube.gridtable.CubeCodeSystem.codeLength(CubeCodeSystem.java:100)
> at org.apache.kylin.gridtable.GTRecord.loadColumns(GTRecord.java:279) at
> org.apache.kylin.storage.gtrecord.PartitionResultIterator.next(PartitionResultIterator.java:56)
> at
> org.apache.kylin.storage.gtrecord.PartitionResultIterator.next(PartitionResultIterator.java:35)
> at com.google.common.collect.Iterators$PeekingImpl.next(Iterators.java:1222)
> at
> org.apache.kylin.storage.gtrecord.SortMergedPartitionResultIterator.next(SortMergedPartitionResultIterator.java:93)
> at
> org.apache.kylin.storage.gtrecord.SortMergedPartitionResultIterator.next(SortMergedPartitionResultIterator.java:38)
> at com.google.common.collect.Iterators$PeekingImpl.next(Iterators.java:1222)
> at
> org.apache.kylin.gridtable.GTStreamAggregateScanner$AbstractStreamMergeIterator.next(GTStreamAggregateScanner.java:102)
> at
> org.apache.kylin.storage.gtrecord.SegmentCubeTupleIterator.hasNext(SegmentCubeTupleIterator.java:162)
> at
> org.apache.kylin.storage.gtrecord.PeekingImpl.hasNext(PeekingImpl.java:45) at
> org.apache.kylin.storage.gtrecord.SortedIteratorMerger.getHeap(SortedIteratorMerger.java:52)
> at
> org.apache.kylin.storage.gtrecord.SortedIteratorMergerWithLimit$MergedIteratorWithLimit.hasNext(SortedIteratorMergerWithLimit.java:81)
> at
> org.apache.kylin.storage.gtrecord.SequentialCubeTupleIterator.hasNext(SequentialCubeTupleIterator.java:144)
> at
> org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:63)
> at Baz$1$1.moveNext(Unknown Source) at
> org.apache.calcite.linq4j.EnumerableDefaults.aggregate(EnumerableDefaults.java:116)
> at
> org.apache.calcite.linq4j.DefaultEnumerable.aggregate(DefaultEnumerable.java:107)
> at Baz.bind(Unknown Source) at
> org.apache.calcite.jdbc.CalcitePrepare$CalciteSignature.enumerable(CalcitePrepare.java:365)
> at
> org.apache.calcite.jdbc.CalciteConnectionImpl.enumerable(CalciteConnectionImpl.java:301)
> at
> org.apache.calcite.jdbc.CalciteMetaImpl._createIterable(CalciteMetaImpl.java:559)
> at
> org.apache.calcite.jdbc.CalciteMetaImpl.createIterable(CalciteMetaImpl.java:550)
> at
> org.apache.calcite.avatica.AvaticaResultSet.execute(AvaticaResultSet.java:182)
> at org.apache.calcite.jdbc.CalciteResultSet.execute(CalciteResultSet.java:67)
> {code}
> I build a cube with an older version of Kylin, and then query the cube from
> the latest master version, and then got this error. With some analysis, I
> think it is related with KYLIN-4322
--
This message was sent by Atlassian Jira
(v8.3.4#803005)