arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe L. Korn (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARROW-404) [Python] Closing an HdfsClient while there are still open file handles results in a crash
Date Fri, 09 Dec 2016 05:50:58 GMT

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

Mime
View raw message