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 2023/01/09 14:51:04 UTC
[GitHub] [druid] erankor opened a new issue, #13645: Exception when running the dump-segment tool
erankor opened a new issue, #13645:
URL: https://github.com/apache/druid/issues/13645
### Affected Version
25.0.0
### Description
Hi,
I'm trying to run the 'dump-segment' tool, and getting the following exception -
```
# java --add-opens java.base/java.lang=ALL-UNNAMED -classpath "/opt/apache-druid-25.0.0/lib/*" -Ddruid.extensions.loadList="[]" org.apache.druid.cli.Main tools dump-segment -d /tmp/segment/
Exception in thread "main" java.lang.IllegalAccessError: class org.apache.datasketches.memory.internal.AccessByteBuffer (in unnamed module @0x1dde4cb2) cannot access class sun.nio.ch.DirectBuffer (in module java.base) because module java.base does not export sun.nio.ch to unnamed module @0x1dde4cb2
at org.apache.datasketches.memory.internal.AccessByteBuffer.<init>(AccessByteBuffer.java:66)
at org.apache.datasketches.memory.internal.BaseWritableMemoryImpl.wrapByteBuffer(BaseWritableMemoryImpl.java:112)
at org.apache.datasketches.memory.Memory.wrap(Memory.java:66)
at org.apache.druid.segment.data.LongsLongEncodingReader.<init>(LongsLongEncodingReader.java:33)
at org.apache.druid.segment.data.CompressionFactory$LongEncodingFormat$3.getReader(CompressionFactory.java:186)
at org.apache.druid.segment.data.CompressionFactory.getLongSupplier(CompressionFactory.java:315)
at org.apache.druid.segment.data.CompressedColumnarLongsSupplier.fromByteBuffer(CompressedColumnarLongsSupplier.java:117)
at org.apache.druid.segment.serde.LongNumericColumnPartSerde.lambda$getDeserializer$0(LongNumericColumnPartSerde.java:100)
at org.apache.druid.segment.column.ColumnDescriptor.read(ColumnDescriptor.java:111)
at org.apache.druid.segment.IndexIO$V9IndexLoader.deserializeColumn(IndexIO.java:796)
at org.apache.druid.segment.IndexIO$V9IndexLoader.registerColumnHolder(IndexIO.java:771)
at org.apache.druid.segment.IndexIO$V9IndexLoader.load(IndexIO.java:632)
at org.apache.druid.segment.IndexIO.loadIndex(IndexIO.java:202)
at org.apache.druid.segment.IndexIO.loadIndex(IndexIO.java:192)
at org.apache.druid.cli.DumpSegment.run(DumpSegment.java:199)
at org.apache.druid.cli.Main.main(Main.java:112)
```
My Java version is -
```
# java --version
openjdk 17.0.5 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu120.04)
OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu120.04, mixed mode, sharing)
```
(even though I tried also Java 19 on Windows, and got the same exception...)
Am I missing something? Or maybe some change broke the dump-segment tool?
Thanks!
Eran
--
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.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org
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
Re: [I] Exception when running the dump-segment tool (druid)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13645:
URL: https://github.com/apache/druid/issues/13645#issuecomment-1912858199
This issue has been marked as stale due to 280 days of inactivity.
It will be closed in 4 weeks if no further activity occurs. If this issue is still
relevant, please simply write any comment. Even if closed, you can still revive the
issue at any time or discuss it on the dev@druid.apache.org list.
Thank you for your contributions.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
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
Re: [I] Exception when running the dump-segment tool (druid)
Posted by "FrankChen021 (via GitHub)" <gi...@apache.org>.
FrankChen021 closed issue #13645: Exception when running the dump-segment tool
URL: https://github.com/apache/druid/issues/13645
--
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.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
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
[GitHub] [druid] erankor commented on issue #13645: Exception when running the dump-segment tool
Posted by GitBox <gi...@apache.org>.
erankor commented on issue #13645:
URL: https://github.com/apache/druid/issues/13645#issuecomment-1375835742
Tested with an older version now - 0.16.1 (from https://archive.apache.org/dist/incubator/druid/), and it works fine.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
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
Re: [I] Exception when running the dump-segment tool (druid)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13645:
URL: https://github.com/apache/druid/issues/13645#issuecomment-1962765966
This issue has been closed due to lack of activity. If you think that
is incorrect, or the issue requires additional review, you can revive the issue at
any time.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
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
Re: [I] Exception when running the dump-segment tool (druid)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13645: Exception when running the dump-segment tool
URL: https://github.com/apache/druid/issues/13645
--
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.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
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