orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Xiaoman Huang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-472) NoSuchMethodError runing on JDK1.8 of examples
Date Tue, 26 Feb 2019 06:11:00 GMT
Patrick Xiaoman Huang created ORC-472:
-----------------------------------------

             Summary: NoSuchMethodError runing on JDK1.8 of examples
                 Key: ORC-472
                 URL: https://issues.apache.org/jira/browse/ORC-472
             Project: ORC
          Issue Type: Bug
          Components: example
            Reporter: Patrick Xiaoman Huang


running examples CoreWriter on JDK1.8, got error

java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer

at org.apache.orc.impl.OutStream.getNewInputBuffer (OutStream.java:177)
 at org.apache.orc.impl.OutStream.write (OutStream.java:210)
 at org.apache.orc.impl.RunLengthIntegerWriterV2.writeDeltaValues (RunLengthIntegerWriterV2.java:228)
 at org.apache.orc.impl.RunLengthIntegerWriterV2.writeValues (RunLengthIntegerWriterV2.java:176)
 at org.apache.orc.impl.RunLengthIntegerWriterV2.write (RunLengthIntegerWriterV2.java:802)
 at org.apache.orc.impl.writer.IntegerTreeWriter.writeBatch (IntegerTreeWriter.java:86)
 at org.apache.orc.impl.writer.StructTreeWriter.writeRootBatch (StructTreeWriter.java:56)
 at org.apache.orc.impl.WriterImpl.addRowBatch (WriterImpl.java:559)
 at org.apache.orc.examples.CoreWriter.main (CoreWriter.java:53)
 at org.apache.orc.examples.CoreWriter.main (CoreWriter.java:64)

btw, no problem running with JDK11



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message