Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 25650200C0A for ; Sat, 24 Dec 2016 02:00:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2235F160B1F; Sat, 24 Dec 2016 01:00:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 95855160B37 for ; Sat, 24 Dec 2016 01:59:59 +0100 (CET) Received: (qmail 84199 invoked by uid 500); 24 Dec 2016 00:59:58 -0000 Mailing-List: contact dev-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 dev@drill.apache.org Received: (qmail 84134 invoked by uid 99); 24 Dec 2016 00:59:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Dec 2016 00:59:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7F9372C03DE for ; Sat, 24 Dec 2016 00:59:58 +0000 (UTC) Date: Sat, 24 Dec 2016 00:59:58 +0000 (UTC) From: "Paul Rogers (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-5160) Memory leak in Parquet async reader when Snappy fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 24 Dec 2016 01:00:00 -0000 Paul Rogers created DRILL-5160: ---------------------------------- Summary: Memory leak in Parquet async reader when Snappy fails Key: DRILL-5160 URL: https://issues.apache.org/jira/browse/DRILL-5160 Project: Apache Drill Issue Type: Bug Affects Versions: 1.9.0 Reporter: Paul Rogers Assignee: Parth Chandra See the details in DRILL-5157. The Parquet async reader uses the Snappy library. If the call into Snappy fails (in my case, due to missing dependency management in the Drill pom.xml file), the Parquet reader fails (as it should.) Unfortunately, the Parquet reader leaks memory which cause {{IllegalStateException}} errors in production, assertion failures in unit tests. To reproduce this the easy way (to avoid the need to undo the fix for DRILL-5157 in Snappy dependencies), use Drill's exception injector in inject an exception at the line where we call into Snappy (See DRILL-5157 for details.) Set a breakpoint exception for {{IllegalStateException}} you will see the memory leak. -- This message was sent by Atlassian JIRA (v6.3.4#6332)