Wes McKinney created ARROW-404: ---------------------------------- Summary: [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)