Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Drill, mail # dev - mvn test failing - java.lang.UnsupportedOperationException: null - on latest trunk


Copy link to this message
-
mvn test failing - java.lang.UnsupportedOperationException: null - on latest trunk
Yash Sharma 2013-09-05, 08:28
Hi All,
I am on the latest trunk now and have done a fresh pull from Master.
mvn clean install  -DskipTests - works just fine, and am also able to start querying on sqline.

mvn test on the other hand fails with the UnsupportedOperationException for almost every test case.
Looking in the code I found the exception being thrown in lot of methods.

+          throw new UnsupportedOperationException();
+//            return PooledHeapByteBufL.newInstance(maxCapacity);

Below is the stack trace fragments for the same.
Thanks,
Yash

testIsNull(org.apache.drill.exec.physical.impl.TestSimpleFunctions)  Time elapsed: 1.992 sec  <<< ERROR!
java.lang.UnsupportedOperationException: null
                at io.netty.buffer.PoolArenaL$DirectArena.newByteBuf(PoolArenaL.java:399)
                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:132)
                at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:123)
                at org.apache.drill.exec.memory.DirectBufferAllocator.buffer(DirectBufferAllocator.java:35)
                at org.apache.drill.exec.vector.IntVector.allocateNew(IntVector.java:99)
                at org.apache.drill.exec.vector.AllocationHelper.allocate(AllocationHelper.java:12)
                at org.apache.drill.exec.store.mock.MockRecordReader.getVector(MockRecordReader.java:63)
                at org.apache.drill.exec.store.mock.MockRecordReader.setup(MockRecordReader.java:78)
                at org.apache.drill.exec.physical.impl.ScanBatch.<init>(ScanBatch.java:66)
                at org.apache.drill.exec.store.mock.MockScanBatchCreator.getBatch(MockScanBatchCreator.java:44)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitSubScan(ImplCreator.java:99)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitSubScan(ImplCreator.java:63)
                at org.apache.drill.exec.store.mock.MockSubScanPOP.accept(MockSubScanPOP.java:94)
                at org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:173)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitFilter(ImplCreator.java:144)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitFilter(ImplCreator.java:63)
                at org.apache.drill.exec.physical.config.Filter.accept(Filter.java:52)
                at org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:173)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitScreen(ImplCreator.java:132)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitScreen(ImplCreator.java:63)
                at org.apache.drill.exec.physical.config.Screen.accept(Screen.java:102)
                at org.apache.drill.exec.physical.impl.ImplCreator.getExec(ImplCreator.java:180)
                at org.apache.drill.exec.physical.impl.TestSimpleFunctions.testIsNull(TestSimpleFunctions.java:69)

Running org.apache.drill.exec.physical.impl.TestComparisonFunctions
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 6.603 sec <<< FAILURE! - in org.apache.drill.exec.physical.impl.TestComparisonFunctions
testIntNullable(org.apache.drill.exec.physical.impl.TestComparisonFunctions)  Time elapsed: 1.065 sec  <<< ERROR!
java.lang.UnsupportedOperationException: null
                at io.netty.buffer.PoolArenaL$DirectArena.newByteBuf(PoolArenaL.java:399)
                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:132)
                at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:123)
                at org.apache.drill.exec.memory.DirectBufferAllocator.buffer(DirectBufferAllocator.java:35)
                at org.apache.drill.exec.vector.IntVector.allocateNew(IntVector.java:99)
                at org.apache.drill.exec.vector.AllocationHelper.allocate(AllocationHelper.java:12)
                at org.apache.drill.exec.store.mock.MockRecordReader.getVector(MockRecordReader.java:63)
                at org.apache.drill.exec.store.mock.MockRecordReader.setup(MockRecordReader.java:78)
                at org.apache.drill.exec.physical.impl.ScanBatch.<init>(ScanBatch.java:66)
                at org.apache.drill.exec.store.mock.MockScanBatchCreator.getBatch(MockScanBatchCreator.java:44)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitSubScan(ImplCreator.java:99)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitSubScan(ImplCreator.java:63)
                at org.apache.drill.exec.store.mock.MockSubScanPOP.accept(MockSubScanPOP.java:94)
                at org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:173)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitFilter(ImplCreator.java:144)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitFilter(ImplCreator.java:63)
                at org.apache.drill.exec.physical.config.Filter.accept(Filter.java:52)
                at org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:173)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitScreen(ImplCreator.java:132)
                at org.apache.drill.exec.physical.impl.ImplCreator.visitScreen(ImplCreator.java:63)
                at org.apache.drill.exec.physical.config.Screen.accept(Screen.java:102)
                at org.apache.drill.exec.physical.impl.ImplCreator.getExec(ImplCreator.java:180)
                at org.apache.drill.exec.physical.impl.TestComparisonFunc