metatron-app / metatron-discovery

Powerful & Easy way for big data discovery
https://metatron.app
Apache License 2.0
442 stars 112 forks source link

Fix identity of namespace for session cache #4177

Open navis opened 1 year ago

navis commented 1 year ago

Possible cause of

2023-02-05T23:11:53,706 WARN [qtp472889832-306[sql_637070a3-5e79-4ccd-9dbc-d5bb96bd43b6]] io.druid.sql.SqlLifecycle - [localhost:8102:druid/middleManager] io.druid.java.util.common.IAE: Index[3] >= size[3]
    at io.druid.segment.data.GenericIndexed.validateIndex(GenericIndexed.java:595)
    at io.druid.segment.data.GenericIndexed.get(GenericIndexed.java:349)
    at io.druid.segment.data.CompressedDoublesIndexedSupplier$CompressedIndexedDoubles.loadBuffer(CompressedDoublesIndexedSupplier.java:179)
    at io.druid.segment.data.CompressedDoublesIndexedSupplier$CompressedIndexedDoubles.fill(CompressedDoublesIndexedSupplier.java:163)
    at io.druid.segment.column.IndexedDoublesGenericColumn._getValue(IndexedDoublesGenericColumn.java:73)
    at io.druid.segment.column.IndexedDoublesGenericColumn.getDouble(IndexedDoublesGenericColumn.java:85)
    at io.druid.segment.ColumnSelectors$27.getDouble(ColumnSelectors.java:837)
    at io.druid.query.aggregation.DoubleMaxBufferAggregator$2.aggregate(DoubleMaxBufferAggregator.java:65)
    at io.druid.query.groupby.GroupByQueryEngine$RowIterator$RowUpdater.update(GroupByQueryEngine.java:535)
    at io.druid.query.groupby.GroupByQueryEngine$RowIterator$1.updateValues(GroupByQueryEngine.java:265)
    at io.druid.query.groupby.GroupByQueryEngine$RowIterator.hasNext(GroupByQueryEngine.java:425)
    at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
    at io.druid.common.guava.GuavaUtils$13.hasNext(GuavaUtils.java:829)
    at io.druid.common.guava.BaseSequence.accumulate(BaseSequence.java:57)
    at io.druid.common.guava.ConcatSequence$1.accumulate(ConcatSequence.java:57)
    at io.druid.common.guava.ConcatSequence$1.accumulate(ConcatSequence.java:53)
    at io.druid.common.guava.FilteringAccumulator.accumulate(FilteringAccumulator.java:38)
    at io.druid.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:37)
    at io.druid.common.guava.FilteringAccumulator.accumulate(FilteringAccumulator.java:38)
    at io.druid.common.guava.FilteringAccumulator.accumulate(FilteringAccumulator.java:38)
    at io.druid.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:37)
    at io.druid.common.guava.BaseSequence.accumulate(BaseSequence.java:58)
    at io.druid.common.guava.MappedSequence.accumulate(MappedSequence.java:48)
    at io.druid.common.guava.ResourceClosingSequence.accumulate(ResourceClosingSequence.java:46)
    at io.druid.common.guava.FilteredSequence.accumulate(FilteredSequence.java:47)
    at io.druid.common.guava.ResourceClosingSequence.accumulate(ResourceClosingSequence.java:46)
    at io.druid.common.guava.FilteredSequence.accumulate(FilteredSequence.java:47)
    at io.druid.common.guava.MappedSequence.accumulate(MappedSequence.java:48)
    at io.druid.common.guava.FilteredSequence.accumulate(FilteredSequence.java:47)
    at io.druid.common.guava.ConcatSequence.accumulate(ConcatSequence.java:51)
    at io.druid.common.guava.MappedSequence.accumulate(MappedSequence.java:48)
    at io.druid.common.guava.ResourceClosingSequence.accumulate(ResourceClosingSequence.java:46)
    at io.druid.common.guava.ResourceClosingSequence.accumulate(ResourceClosingSequence.java:46)
    at io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:108)
    at io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:100)
    at io.druid.concurrent.Execs$WaitingFuture.execute(Execs.java:457)
    at io.druid.concurrent.Execs$4.run(Execs.java:429)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at io.druid.common.guava.DirectExecutorService.execute(DirectExecutorService.java:56)
    at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
    at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:50)
    at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:37)
    at io.druid.concurrent.Execs.execute(Execs.java:416)
    at io.druid.concurrent.Execs.execute(Execs.java:397)
    at io.druid.query.GroupByMergedQueryRunner.run(GroupByMergedQueryRunner.java:91)
    at io.druid.query.groupby.GroupByQueryRunnerFactory.lambda$mergeRunners$2(GroupByQueryRunnerFactory.java:356)
    at io.druid.query.BySegmentQueryRunner.run(BySegmentQueryRunner.java:54)
    at io.druid.query.MetricsEmittingQueryRunner.run(MetricsEmittingQueryRunner.java:95)
    at io.druid.query.MetricsEmittingQueryRunner.run(MetricsEmittingQueryRunner.java:95)
    at io.druid.query.CPUTimeMetricQueryRunner.run(CPUTimeMetricQueryRunner.java:68)
    at io.druid.query.spec.SpecificSegmentQueryRunner$1.call(SpecificSegmentQueryRunner.java:84)
    at io.druid.query.spec.SpecificSegmentQueryRunner$1.call(SpecificSegmentQueryRunner.java:80)
    at io.druid.query.spec.SpecificSegmentQueryRunner.doNamed(SpecificSegmentQueryRunner.java:185)
    at io.druid.query.spec.SpecificSegmentQueryRunner.run(SpecificSegmentQueryRunner.java:78)
    at io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:105)
    at io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:100)
    at io.druid.concurrent.Execs$WaitingFuture.execute(Execs.java:457)
    at io.druid.concurrent.Execs$4.run(Execs.java:429)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at io.druid.query.PrioritizedListenableFutureTask.run(PrioritizedExecutorService.java:273)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)