drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-2252) Cancelling a fragment is not cleaning up RecordBatches
Date Sun, 15 Feb 2015 19:14:11 GMT

    [ https://issues.apache.org/jira/browse/DRILL-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14322152#comment-14322152
] 

Hanifi Gunes commented on DRILL-2252:
-------------------------------------

Never mind the above comment. The method seems to check on a guard variable *closed* that
should ensure at most once semantics.

> Cancelling a fragment is not cleaning up RecordBatches
> ------------------------------------------------------
>
>                 Key: DRILL-2252
>                 URL: https://issues.apache.org/jira/browse/DRILL-2252
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>            Reporter: Venki Korukanti
>            Assignee: Venki Korukanti
>         Attachments: DRILL-2252-1.patch
>
>
> Currently FragmentExecutor exits out of processing loop once a fragment is cancelled,
but it is not cleaning up the operators. This causes some operators to leak resources. For
example ScanBatch closes the currently open files as part of the cleanup, because of this
bug now it leaves some open files.
> To repro:
> Run a query that involves LIMIT in loop and observe the memory used by the Drillbit go
up consistently. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message