You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2016/12/07 17:30:58 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15729344#comment-15729344 ] 

Wes McKinney commented on ARROW-404:
------------------------------------

PR: https://github.com/apache/arrow/pull/230/files

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