Antoine Pitrou created ARROW-5539:
-------------------------------------

             Summary: [Java] Test failure
                 Key: ARROW-5539
                 URL: https://issues.apache.org/jira/browse/ARROW-5539
             Project: Apache Arrow
          Issue Type: Bug
          Components: Java
            Reporter: Antoine Pitrou


I know next to nothing about Java ecosystems. I'm trying to build and test 
locally, and get the following failures:
{code}
[ERROR] Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.011 s 
<<< FAILURE! - in io.netty.buffer.TestArrowBuf
[ERROR] testSetBytesSliced(io.netty.buffer.TestArrowBuf)  Time elapsed: 0.004 s 
 <<< ERROR!
java.lang.NoSuchMethodError: 
io.netty.buffer.ArrowBuf.setBytes(ILjava/nio/ByteBuffer;II)Lio/netty/buffer/ArrowBuf;
        at 
io.netty.buffer.TestArrowBuf.testSetBytesSliced(TestArrowBuf.java:100)

[ERROR] testSetBytesUnsliced(io.netty.buffer.TestArrowBuf)  Time elapsed: 0 s  
<<< ERROR!
java.lang.NoSuchMethodError: 
io.netty.buffer.ArrowBuf.setBytes(ILjava/nio/ByteBuffer;II)Lio/netty/buffer/ArrowBuf;
        at 
io.netty.buffer.TestArrowBuf.testSetBytesUnsliced(TestArrowBuf.java:121)

12:27:49.541 [main] WARN  o.apache.arrow.memory.BoundsChecking - 
"drill.enable_unsafe_memory_access" has been renamed to 
"arrow.enable_unsafe_memory_access"
12:27:49.543 [main] WARN  o.apache.arrow.memory.BoundsChecking - 
"arrow.enable_unsafe_memory_access" can be set to:  true (to not check) or 
false (to check, default)
12:27:49.617 [main] WARN  o.apache.arrow.memory.BoundsChecking - 
"drill.enable_unsafe_memory_access" has been renamed to 
"arrow.enable_unsafe_memory_access"
12:27:49.619 [main] WARN  o.apache.arrow.memory.BoundsChecking - 
"arrow.enable_unsafe_memory_access" can be set to:  true (to not check) or 
false (to check, default)
{code}

Java version is the following:
{code}
$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
{code}

I'm on Ubuntu 18.04. Perhaps I need another JVM?



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

Reply via email to