You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Prafulla <pr...@yahoo.com> on 2013/08/15 06:37:47 UTC
Test failures
Hi,
I am trying to get "mvn install" working on my ubuntu (12.04) machine.
I am facing following test failures on latest code base.
One of the test case (org.apache.drill.exec.server.TestBitRpc) waits for something forever ( I guess some connection ).
Also there are few failures
testLittleEndian(org.apache.drill.exec.memory.TestEndianess) Time elapsed: 0.002 sec <<< ERROR!
java.lang.UnsupportedOperationException: null
at io.netty.buffer.PoolArenaL$DirectArena.newByteBuf(PoolArenaL.java:400)
at io.netty.buffer.PoolArenaL.allocate(PoolArenaL.java:93)
at io.netty.buffer.PooledByteBufAllocatorL.newDirectBuffer(PooledByteBufAllocatorL.java:235)
at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:130)
at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:121)
at org.apache.drill.exec.memory.DirectBufferAllocator.buffer(DirectBufferAllocator.java:35)
at org.apache.drill.exec.memory.TestEndianess.testLittleEndian(TestEndianess.java:16)
And lots of it.
Full "mvn install" run log is uploaded at following location:
https://www.dropbox.com/s/qx0xpobtptku4k3/build_no_dbg.txt
Can anyone tell me if these test failures ( especially one with hang ) is because of my environment?
Any workarounds?
Re: Test failures
Posted by Prafulla <pr...@yahoo.com>.
I tried simple program to check if Java's unsafe is available. It shows that it is available.
I even tried to netty's PlatformDependent.hashUnsafe() in my simple test program and it returned True.
But somehow when it runs in "mvn install", it returns False.
Any insights how to fix this?
Here is my test program:
[prafulla] cat Test.java
import sun.misc.Unsafe;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import io.netty.util.internal.PlatformDependent;
public class Test
{
public static void main(String[] args) throws Exception
{
Unsafe unsafe;
Field unsafeField = Unsafe.class.getDeclaredField("theUnsafe");
System.out.println("Hi "+ unsafeField);
System.out.println("Hello world");
System.out.println("Platform "+ PlatformDependent.hasUnsafe());
}
}
----- Original Message -----
From: Jacques Nadeau <ja...@apache.org>
To: drill-dev@incubator.apache.org; Prafulla <pr...@yahoo.com>
Cc:
Sent: Wednesday, 14 August 2013 10:26 PM
Subject: Re: Test failures
Can you confirm the version of the JDK you're running on. We assume
Java's Unsafe is available. It looks like the platform you are on
doesn't have that.
thanks,
J
On Wed, Aug 14, 2013 at 9:37 PM, Prafulla <pr...@yahoo.com> wrote:
> Hi,
>
> I am trying to get "mvn install" working on my ubuntu (12.04) machine.
> I am facing following test failures on latest code base.
> One of the test case (org.apache.drill.exec.server.TestBitRpc) waits for something forever ( I guess some connection ).
> Also there are few failures
>
> testLittleEndian(org.apache.drill.exec.memory.TestEndianess) Time elapsed: 0.002 sec <<< ERROR!
> java.lang.UnsupportedOperationException: null
> at io.netty.buffer.PoolArenaL$DirectArena.newByteBuf(PoolArenaL.java:400)
> at io.netty.buffer.PoolArenaL.allocate(PoolArenaL.java:93)
> at io.netty.buffer.PooledByteBufAllocatorL.newDirectBuffer(PooledByteBufAllocatorL.java:235)
> at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:130)
> at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:121)
> at org.apache.drill.exec.memory.DirectBufferAllocator.buffer(DirectBufferAllocator.java:35)
> at org.apache.drill.exec.memory.TestEndianess.testLittleEndian(TestEndianess.java:16)
>
> And lots of it.
> Full "mvn install" run log is uploaded at following location:
>
> https://www.dropbox.com/s/qx0xpobtptku4k3/build_no_dbg.txt
>
> Can anyone tell me if these test failures ( especially one with hang ) is because of my environment?
> Any workarounds?
Re: Test failures
Posted by Prafulla <pr...@yahoo.com>.
I am using Oracle's JDK 1.7, Is that a problem? Which version is recommended?
java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)
----- Original Message -----
From: Jacques Nadeau <ja...@apache.org>
To: drill-dev@incubator.apache.org; Prafulla <pr...@yahoo.com>
Cc:
Sent: Wednesday, 14 August 2013 10:26 PM
Subject: Re: Test failures
Can you confirm the version of the JDK you're running on. We assume
Java's Unsafe is available. It looks like the platform you are on
doesn't have that.
thanks,
J
On Wed, Aug 14, 2013 at 9:37 PM, Prafulla <pr...@yahoo.com> wrote:
> Hi,
>
> I am trying to get "mvn install" working on my ubuntu (12.04) machine.
> I am facing following test failures on latest code base.
> One of the test case (org.apache.drill.exec.server.TestBitRpc) waits for something forever ( I guess some connection ).
> Also there are few failures
>
> testLittleEndian(org.apache.drill.exec.memory.TestEndianess) Time elapsed: 0.002 sec <<< ERROR!
> java.lang.UnsupportedOperationException: null
> at io.netty.buffer.PoolArenaL$DirectArena.newByteBuf(PoolArenaL.java:400)
> at io.netty.buffer.PoolArenaL.allocate(PoolArenaL.java:93)
> at io.netty.buffer.PooledByteBufAllocatorL.newDirectBuffer(PooledByteBufAllocatorL.java:235)
> at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:130)
> at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:121)
> at org.apache.drill.exec.memory.DirectBufferAllocator.buffer(DirectBufferAllocator.java:35)
> at org.apache.drill.exec.memory.TestEndianess.testLittleEndian(TestEndianess.java:16)
>
> And lots of it.
> Full "mvn install" run log is uploaded at following location:
>
> https://www.dropbox.com/s/qx0xpobtptku4k3/build_no_dbg.txt
>
> Can anyone tell me if these test failures ( especially one with hang ) is because of my environment?
> Any workarounds?
Re: Test failures
Posted by Jacques Nadeau <ja...@apache.org>.
Can you confirm the version of the JDK you're running on. We assume
Java's Unsafe is available. It looks like the platform you are on
doesn't have that.
thanks,
J
On Wed, Aug 14, 2013 at 9:37 PM, Prafulla <pr...@yahoo.com> wrote:
> Hi,
>
> I am trying to get "mvn install" working on my ubuntu (12.04) machine.
> I am facing following test failures on latest code base.
> One of the test case (org.apache.drill.exec.server.TestBitRpc) waits for something forever ( I guess some connection ).
> Also there are few failures
>
> testLittleEndian(org.apache.drill.exec.memory.TestEndianess) Time elapsed: 0.002 sec <<< ERROR!
> java.lang.UnsupportedOperationException: null
> at io.netty.buffer.PoolArenaL$DirectArena.newByteBuf(PoolArenaL.java:400)
> at io.netty.buffer.PoolArenaL.allocate(PoolArenaL.java:93)
> at io.netty.buffer.PooledByteBufAllocatorL.newDirectBuffer(PooledByteBufAllocatorL.java:235)
> at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:130)
> at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:121)
> at org.apache.drill.exec.memory.DirectBufferAllocator.buffer(DirectBufferAllocator.java:35)
> at org.apache.drill.exec.memory.TestEndianess.testLittleEndian(TestEndianess.java:16)
>
> And lots of it.
> Full "mvn install" run log is uploaded at following location:
>
> https://www.dropbox.com/s/qx0xpobtptku4k3/build_no_dbg.txt
>
> Can anyone tell me if these test failures ( especially one with hang ) is because of my environment?
> Any workarounds?