Running the java integration test fails with an exception:
$java -classpath ~/arrow/java/tools/target/arrow-tools-0.14.0-SNAPSHOT-jar-with-dependencies.jar -Dio.netty.tryReflectionSetAccessible=falseorg.apache.arrow.tools.Integration -a ~/tmp/1832930b_simple.json_as_file -j ~/arrow/integration/data/simple.json -cVALIDATE
...
Incompatiblefilessun.misc.Unsafeorjava.nio.DirectByteBuffer.<init>(long, int) notavailable08:55:43.597 [main] ERRORorg.apache.arrow.tools.Integration - Incompatiblefilesjava.lang.UnsupportedOperationException: sun.misc.Unsafeorjava.nio.DirectByteBuffer.<init>(long, int) notavailableatio.netty.util.internal.PlatformDependent.directBuffer(PlatformDependent.java:399)
atio.netty.buffer.NettyArrowBuf.getDirectBuffer(NettyArrowBuf.java:233)
atio.netty.buffer.NettyArrowBuf.nioBuffer(NettyArrowBuf.java:223)
atio.netty.buffer.ArrowBuf.nioBuffer(ArrowBuf.java:245)
atorg.apache.arrow.vector.ipc.message.ArrowRecordBatch.computeBodyLength(ArrowRecordBatch.java:211)
atorg.apache.arrow.vector.ipc.message.MessageSerializer.serialize(MessageSerializer.java:175)
atorg.apache.arrow.vector.ipc.ArrowWriter.writeRecordBatch(ArrowWriter.java:119)
atorg.apache.arrow.vector.ipc.ArrowFileWriter.writeRecordBatch(ArrowFileWriter.java:61)
atorg.apache.arrow.vector.ipc.ArrowWriter.writeBatch(ArrowWriter.java:107)
atorg.apache.arrow.tools.Integration$Command$2.execute(Integration.java:171)
atorg.apache.arrow.tools.Integration.run(Integration.java:118)
atorg.apache.arrow.tools.Integration.main(Integration.java:69)
Looking through netty's source, it looks like this exception is emitted here.
$aptsearchjdk | grepinstalleddefault-jre/bionic-updates,bionic-security,now2:1.11-68ubuntu1~18.04.1amd64 [installed,automatic]
default-jre-headless/bionic-updates,bionic-security,now2:1.11-68ubuntu1~18.04.1amd64 [installed,automatic]
libslf4j-java/bionic,bionic,now1.7.25-3all [installed,automatic]
openjdk-11-jdk/bionic-updates,bionic-security,now11.0.3+7-1ubuntu2~18.04.1amd64 [installed]
openjdk-11-jdk-headless/bionic-updates,bionic-security,now11.0.3+7-1ubuntu2~18.04.1amd64 [installed,automatic]
openjdk-11-jre/bionic-updates,bionic-security,now11.0.3+7-1ubuntu2~18.04.1amd64 [installed,automatic]
openjdk-11-jre-headless/bionic-updates,bionic-security,now11.0.3+7-1ubuntu2~18.04.1amd64 [installed,automatic]
Reporter: Ben Kietzman / @bkietz
Assignee: Bryan Cutler / @BryanCutler
PRs and other links:
Note: This issue was originally created as ARROW-5412. Please see the migration documentation for further details.
Running the java integration test fails with an exception:
Looking through netty's source, it looks like this exception is emitted here.
Reporter: Ben Kietzman / @bkietz
Assignee: Bryan Cutler / @BryanCutler
PRs and other links:
Note: This issue was originally created as ARROW-5412. Please see the migration documentation for further details.