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 2FABA200BFE for ; Fri, 9 Dec 2016 06:51:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2E50B160B1F; Fri, 9 Dec 2016 05:51: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 9A49D160B2C for ; Fri, 9 Dec 2016 06:50:59 +0100 (CET) Received: (qmail 63056 invoked by uid 500); 9 Dec 2016 05:50:58 -0000 Mailing-List: contact dev-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list dev@arrow.apache.org Received: (qmail 62926 invoked by uid 99); 9 Dec 2016 05:50:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2016 05:50:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 708282C03DF for ; Fri, 9 Dec 2016 05:50:58 +0000 (UTC) Date: Fri, 9 Dec 2016 05:50:58 +0000 (UTC) From: "Uwe L. Korn (JIRA)" To: dev@arrow.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ARROW-404) [Python] Closing an HdfsClient while there are still open file handles results in a crash MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Dec 2016 05:51:00 -0000 [ https://issues.apache.org/jira/browse/ARROW-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe L. Korn resolved ARROW-404. ------------------------------- Resolution: Fixed Issue resolved by pull request 230 [https://github.com/apache/arrow/pull/230] > [Python] Closing an HdfsClient while there are still open file handles results in a crash > ----------------------------------------------------------------------------------------- > > Key: ARROW-404 > URL: https://issues.apache.org/jira/browse/ARROW-404 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Wes McKinney > > Reproducible as follows: > {code} > In [3]: con = io.HdfsClient.connect(...) > In [4]: f = con.open(hdfs_file_path) > In [5]: con = None > In [6]: f = None > {code} > The attempt to invoke {{CloseFile}} on the internal file handle in {{f}} causes the JVM to segfault. {{f}} should retain a reference to its parent {{con}} so this does not occur -- This message was sent by Atlassian JIRA (v6.3.4#6332)