[
https://issues.apache.org/jira/browse/DRILL-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Nadeau resolved DRILL-401.
----------------------------------
Resolution: Fixed
Assignee: Jacques Nadeau
Fixed in 0e7c6e7
> MockRecordReader is not releasing all buffers
> ----------------------------------------------
>
> Key: DRILL-401
> URL: https://issues.apache.org/jira/browse/DRILL-401
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Jason Altekruse
> Assignee: Jacques Nadeau
>
> TestDistributedFragmentRun.oneBitOneExchangeTwoEntryRunLogical was running a
> basic scan/screen with a logical plan. It is logging an error about an
> outstanding buffer allocated when attempting to close the accountor, but
> this is not causing the test to fail.
> Stack trace gelow.
> java.lang.IllegalStateException
> Attempted to close accountor with 1 buffer(s) still allocatedfor QueryId:
> 8095683d-6d40-4ef2-9fea-eafe12d3af0d, MajorFragmentId: 0, MinorFragmentId: 0.
> Total 1 allocation(s) of byte size(s): 5000, at stack location:
> org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.buffer(TopLevelAllocator.java:96)
>
> org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.buffer(TopLevelAllocator.java:101)
>
> org.apache.drill.exec.vector.VarCharVector.allocateNew(VarCharVector.java:222)
>
> org.apache.drill.exec.vector.AllocationHelper.allocate(AllocationHelper.java:31)
>
> org.apache.drill.exec.store.mock.MockRecordReader.next(MockRecordReader.java:96)
> org.apache.drill.exec.physical.impl.ScanBatch.next(ScanBatch.java:94)
> org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:107)
>
> org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.next(ScreenCreator.java:80)
>
> org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:83)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> java.lang.Thread.run(Thread.java:722)
--
This message was sent by Atlassian JIRA
(v6.2#6252)