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.TestComparisonFunctions.runTest(TestComparisonFunctions.java:49)
at
org.apache.drill.exec.physical.impl.TestComparisonFunctions.testIntNullable(TestComparisonFunctions.java:109)
runNoExchangeFragment(org.apache.drill.exec.physical.impl.TestSimpleFragmentRun)
Time elapsed: 10.013 sec <<< ERROR!
java.lang.Exception: test timed out after 10000 milliseconds
at sun.misc.Unsafe.park(Native Method)
at
java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
at
com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:292)
at
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
at
com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
at
com.google.common.util.concurrent.AbstractCheckedFuture.checkedGet(AbstractCheckedFuture.java:78)
at
org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:142)
at
org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:111)
at
org.apache.drill.exec.physical.impl.TestSimpleFragmentRun.runNoExchangeFragment(TestSimpleFragmentRun.java:61)
Thanks,
Yash Sharma
[impetus logo]
________________________________
NOTE: This message may contain information that is confidential, proprietary,
privileged or otherwise protected by law. The message is intended solely for
the named addressee. If received in error, please destroy and notify the
sender. Any use of this email is prohibited when received in error. Impetus
does not represent, warrant and/or guarantee, that the integrity of this
communication has been maintained nor that the communication is free of errors,
virus, interception or interference.