You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/04/24 01:05:09 UTC

[GitHub] [druid] leerho removed a comment on issue #9736: HLLSketchMerge aggregator failing for some metrics after upgrade to v0.18

leerho removed a comment on issue #9736:
URL: https://github.com/apache/druid/issues/9736#issuecomment-618631657


   I tried using the Dump-Segment tool, following the java run command in the documentation, to examine the _hll_segment.zip_ provided by @scrawfor above.
   
   I get a NullPointerException.  I would like to get this working, but I must be doing something wrong. Here is the stack trace:
   
   > $ java -classpath "/Users/lrhodes/dev/git/Apache/druid-0.18.0/apache-druid-0.18.0/lib/*" -Ddruid.extensions.loadList="[]" org.apache.druid.cli.Main  tools dump-segment  --directory /Users/lrhodes/dev/git/Apache/druid-0.18.0/Dump/hll_segment/  --out /Users/lrhodes/dev/git/Apache/druid-0.18.0/Dump/hll_segment.txt
   `ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
   Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException
   	at org.apache.druid.cli.DumpSegment.run(DumpSegment.java:196)
   	at org.apache.druid.cli.Main.main(Main.java:113)
   Caused by: java.lang.NullPointerException
   	at org.apache.druid.segment.column.SimpleColumnHolder.getColumn(SimpleColumnHolder.java:68)
   	at org.apache.druid.segment.QueryableIndexColumnSelectorFactory.lambda$getCachedColumn$2(QueryableIndexColumnSelectorFactory.java:175)
   	at java.util.HashMap.computeIfAbsent(HashMap.java:1127)
   	at org.apache.druid.segment.QueryableIndexColumnSelectorFactory.getCachedColumn(QueryableIndexColumnSelectorFactory.java:171)
   	at org.apache.druid.segment.QueryableIndexColumnSelectorFactory.lambda$makeColumnValueSelector$1(QueryableIndexColumnSelectorFactory.java:146)
   	at org.apache.druid.segment.QueryableIndexColumnSelectorFactory.makeColumnValueSelector(QueryableIndexColumnSelectorFactory.java:160)
   	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
   	at java.util.Iterator.forEachRemaining(Iterator.java:116)
   	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
   	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
   	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
   	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
   	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
   	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
   	at org.apache.druid.cli.DumpSegment$2$1.apply(DumpSegment.java:280)
   	at org.apache.druid.cli.DumpSegment$2$1.apply(DumpSegment.java:272)
   	at org.apache.druid.java.util.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:40)
   	at org.apache.druid.java.util.common.guava.FilteringAccumulator.accumulate(FilteringAccumulator.java:41)
   	at org.apache.druid.java.util.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:40)
   	at org.apache.druid.java.util.common.guava.BaseSequence.accumulate(BaseSequence.java:44)
   	at org.apache.druid.java.util.common.guava.MappedSequence.accumulate(MappedSequence.java:43)
   	at org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
   	at org.apache.druid.java.util.common.guava.SequenceWrapper.wrap(SequenceWrapper.java:55)
   	at org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
   	at org.apache.druid.java.util.common.guava.FilteredSequence.accumulate(FilteredSequence.java:45)
   	at org.apache.druid.java.util.common.guava.MappedSequence.accumulate(MappedSequence.java:43)
   	at org.apache.druid.cli.DumpSegment.evaluateSequenceForSideEffects(DumpSegment.java:493)
   	at org.apache.druid.cli.DumpSegment.access$100(DumpSegment.java:103)
   	at org.apache.druid.cli.DumpSegment$2.apply(DumpSegment.java:312)
   	at org.apache.druid.cli.DumpSegment$2.apply(DumpSegment.java:265)
   	at org.apache.druid.cli.DumpSegment.withOutputStream(DumpSegment.java:426)
   	at org.apache.druid.cli.DumpSegment.runDump(DumpSegment.java:263)
   	at org.apache.druid.cli.DumpSegment.run(DumpSegment.java:183)
     ...`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org