Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15736 Support Java 17 (LTS)
  3. FLINK-24999

flink-python doesn't work on Java 17

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • API / Python
    • None

    Description

      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)
      

      Attachments

        Activity

          People

            ana4 Luning Wang
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: