You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2015/02/15 15:26:11 UTC

[jira] [Created] (DRILL-2252) Cancelling a fragment is not cleaning up RecordBatches

Venki Korukanti created DRILL-2252:
--------------------------------------

             Summary: 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


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)