You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jason Altekruse (JIRA)" <ji...@apache.org> on 2015/04/21 01:51:59 UTC

[jira] [Updated] (DRILL-401) MockRecordReader is not releasing all buffers

     [ https://issues.apache.org/jira/browse/DRILL-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Altekruse updated DRILL-401:
----------------------------------
    Component/s: Execution - Relational Operators

> MockRecordReader is not releasing all buffers 
> ----------------------------------------------
>
>                 Key: DRILL-401
>                 URL: https://issues.apache.org/jira/browse/DRILL-401
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Relational Operators
>            Reporter: Jason Altekruse
>            Assignee: Jacques Nadeau
>             Fix For: 0.4.0
>
>
> 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.3.4#6332)