Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAEB01766B for ; Sun, 15 Feb 2015 19:14:11 +0000 (UTC) Received: (qmail 23461 invoked by uid 500); 15 Feb 2015 19:14:11 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 23431 invoked by uid 500); 15 Feb 2015 19:14:11 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 23420 invoked by uid 99); 15 Feb 2015 19:14:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Feb 2015 19:14:11 +0000 Date: Sun, 15 Feb 2015 19:14:11 +0000 (UTC) From: "Hanifi Gunes (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-2252) Cancelling a fragment is not cleaning up RecordBatches MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)