You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "LuNng Wang (Jira)" <ji...@apache.org> on 2022/06/06 07:21:00 UTC

[jira] [Comment Edited] (FLINK-24999) flink-python doesn't work on Java 17

    [ https://issues.apache.org/jira/browse/FLINK-24999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550330#comment-17550330 ] 

LuNng Wang edited comment on FLINK-24999 at 6/6/22 7:20 AM:
------------------------------------------------------------

We need to bump Arrow to 8.0.0

[https://arrow.apache.org/release/8.0.0.html]

[~dianfu] I would like to take this.


was (Author: ana4):
We need to bump Arrow to 8.0.0

[https://arrow.apache.org/release/8.0.0.html]

 

[~dianfu] I would like to take this.

> flink-python doesn't work on Java 17
> ------------------------------------
>
>                 Key: FLINK-24999
>                 URL: https://issues.apache.org/jira/browse/FLINK-24999
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / Python
>            Reporter: Chesnay Schepler
>            Priority: Major
>
> {code:java}
> java.lang.UnsupportedOperationException: sun.misc.Unsafe or java.nio.DirectByteBuffer.<init>(long, int) not available
>  at io.netty.util.internal.PlatformDependent.directBuffer(PlatformDependent.java:490)
>  at io.netty.buffer.NettyArrowBuf.getDirectBuffer(NettyArrowBuf.java:257)
>  at io.netty.buffer.NettyArrowBuf.nioBuffer(NettyArrowBuf.java:247)
>  at io.netty.buffer.ArrowBuf.nioBuffer(ArrowBuf.java:248)
>  at org.apache.arrow.vector.ipc.message.ArrowRecordBatch.computeBodyLength(ArrowRecordBatch.java:228)
>  at org.apache.arrow.vector.ipc.message.MessageSerializer.serialize(MessageSerializer.java:242)
>  at org.apache.arrow.vector.ipc.ArrowWriter.writeRecordBatch(ArrowWriter.java:132)
>  at org.apache.arrow.vector.ipc.ArrowWriter.writeBatch(ArrowWriter.java:120)
>  at org.apache.flink.table.runtime.arrow.ArrowUtilsTest.testReadArrowBatches(ArrowUtilsTest.java:389)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)