java.nio.BufferUnderflowException

Google Groups | SAURABH JAIN | 2 months ago
  1. 0

    BufferUnderFlowException while running groupBy query

    Google Groups | 2 months ago | SAURABH JAIN
    java.nio.BufferUnderflowException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.nio.BufferUnderflowException

      No message provided

      at java.nio.Buffer.nextGetIndex()
    2. Java RT
      DirectByteBuffer.getShort
      1. java.nio.Buffer.nextGetIndex(Buffer.java:506)[?:1.8.0_101]
      2. java.nio.DirectByteBuffer.getShort(DirectByteBuffer.java:590)[?:1.8.0_101]
      2 frames
    3. Druid Processing
      GroupByQueryEngine$RowIterator.next
      1. io.druid.query.aggregation.hyperloglog.HyperLogLogCollector.fold(HyperLogLogCollector.java:393)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      2. io.druid.query.aggregation.hyperloglog.HyperUniquesBufferAggregator.aggregate(HyperUniquesBufferAggregator.java:65)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      3. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:237)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      4. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:200)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      5. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:200)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      6. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:200)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      7. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:200)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      8. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:200)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      9. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:200)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      10. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.updateValues(GroupByQueryEngine.java:200)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      11. io.druid.query.groupby.GroupByQueryEngine$RowUpdater.access$100(GroupByQueryEngine.java:150)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      12. io.druid.query.groupby.GroupByQueryEngine$RowIterator.next(GroupByQueryEngine.java:378)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      13. io.druid.query.groupby.GroupByQueryEngine$RowIterator.next(GroupByQueryEngine.java:293)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      13 frames
    4. java-util
      ResourceClosingSequence.accumulate
      1. com.metamx.common.guava.BaseSequence.accumulate(BaseSequence.java:67)[java-util-0.27.10.jar:?]
      2. com.metamx.common.guava.ConcatSequence$1.accumulate(ConcatSequence.java:46)[java-util-0.27.10.jar:?]
      3. com.metamx.common.guava.ConcatSequence$1.accumulate(ConcatSequence.java:42)[java-util-0.27.10.jar:?]
      4. com.metamx.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:39)[java-util-0.27.10.jar:?]
      5. com.metamx.common.guava.FilteringAccumulator.accumulate(FilteringAccumulator.java:40)[java-util-0.27.10.jar:?]
      6. com.metamx.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:39)[java-util-0.27.10.jar:?]
      7. com.metamx.common.guava.BaseSequence.accumulate(BaseSequence.java:67)[java-util-0.27.10.jar:?]
      8. com.metamx.common.guava.MappedSequence.accumulate(MappedSequence.java:40)[java-util-0.27.10.jar:?]
      9. com.metamx.common.guava.ResourceClosingSequence.accumulate(ResourceClosingSequence.java:38)[java-util-0.27.10.jar:?]
      10. com.metamx.common.guava.FilteredSequence.accumulate(FilteredSequence.java:42)[java-util-0.27.10.jar:?]
      11. com.metamx.common.guava.MappedSequence.accumulate(MappedSequence.java:40)[java-util-0.27.10.jar:?]
      12. com.metamx.common.guava.ResourceClosingSequence.accumulate(ResourceClosingSequence.java:38)[java-util-0.27.10.jar:?]
      13. com.metamx.common.guava.ConcatSequence.accumulate(ConcatSequence.java:40)[java-util-0.27.10.jar:?]
      14. com.metamx.common.guava.ResourceClosingSequence.accumulate(ResourceClosingSequence.java:38)[java-util-0.27.10.jar:?]
      14 frames
    5. Druid Processing
      MetricsEmittingQueryRunner$1.accumulate
      1. io.druid.query.MetricsEmittingQueryRunner$1.accumulate(MetricsEmittingQueryRunner.java:104)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      1 frame
    6. java-util
      Sequences.toList
      1. com.metamx.common.guava.MappedSequence.accumulate(MappedSequence.java:40)[java-util-0.27.10.jar:?]
      2. com.metamx.common.guava.Sequences$1.accumulate(Sequences.java:90)[java-util-0.27.10.jar:?]
      3. com.metamx.common.guava.Sequences.toList(Sequences.java:113)[java-util-0.27.10.jar:?]
      3 frames
    7. Druid Processing
      CPUTimeMetricQueryRunner$1.accumulate
      1. io.druid.query.BySegmentQueryRunner.run(BySegmentQueryRunner.java:56)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      2. io.druid.query.MetricsEmittingQueryRunner$1.accumulate(MetricsEmittingQueryRunner.java:104)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      3. io.druid.query.spec.SpecificSegmentQueryRunner$2$1.call(SpecificSegmentQueryRunner.java:87)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      4. io.druid.query.spec.SpecificSegmentQueryRunner.doNamed(SpecificSegmentQueryRunner.java:171)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      5. io.druid.query.spec.SpecificSegmentQueryRunner.access$400(SpecificSegmentQueryRunner.java:41)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      6. io.druid.query.spec.SpecificSegmentQueryRunner$2.doItNamed(SpecificSegmentQueryRunner.java:162)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      7. io.druid.query.spec.SpecificSegmentQueryRunner$2.accumulate(SpecificSegmentQueryRunner.java:80)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      8. io.druid.query.CPUTimeMetricQueryRunner$1.accumulate(CPUTimeMetricQueryRunner.java:81)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      8 frames
    8. java-util
      Sequences$1.accumulate
      1. com.metamx.common.guava.Sequences$1.accumulate(Sequences.java:90)[java-util-0.27.10.jar:?]
      1 frame
    9. Druid Processing
      GroupByMergedQueryRunner$1$1.call
      1. io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:118)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      2. io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:111)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      2 frames
    10. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_101]
      1 frame
    11. Druid Processing
      PrioritizedListenableFutureTask.run
      1. io.druid.query.PrioritizedListenableFutureTask.run(PrioritizedExecutorService.java:271)[druid-processing-0.9.2-rc1.jar:0.9.2-rc1]
      1 frame
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_101]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_101]
      3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]
      3 frames