You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2016/12/09 05:50:58 UTC

[jira] [Resolved] (ARROW-404) [Python] Closing an HdfsClient while there are still open file handles results in a crash

     [ 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)