Steve Loughran created HADOOP-19583: ---------------------------------------
Summary: JDK8: RawLocalFileSystem calls ByteBuffer.flip Key: HADOOP-19583 URL: https://issues.apache.org/jira/browse/HADOOP-19583 Project: Hadoop Common Issue Type: Bug Components: common Affects Versions: 3.4.2 Reporter: Steve Loughran Assignee: Steve Loughran running 3.4.2 rc1 on older JDK 8 runtimes can fail {code} [INFO] ------------------------------------------------------- [INFO] Running org.apache.parquet.hadoop.TestParquetReader Exception in thread "Thread-8" java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer; at org.apache.hadoop.fs.RawLocalFileSystem$AsyncHandler.completed(RawLocalFileSystem.java:428) at org.apache.hadoop.fs.RawLocalFileSystem$AsyncHandler.completed(RawLocalFileSystem.java:362) at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) at sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.run(SimpleAsynchronousFileChannelImpl.java:335) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) {code} this can be fixed trivially, casting to java.io.Buffer first: ((Byffer)buff).flip()) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org