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)