[GitHub] [hadoop] steveloughran commented on pull request #4966: HADOOP-18476. Abfs and S3A FileContext bindings to close wrapped filesystems in finalizer

2022-10-18 Thread GitBox
steveloughran commented on PR #4966: URL: https://github.com/apache/hadoop/pull/4966#issuecomment-1282431189 you know, the other thing to think of here is have finalize() methods in s3a/abfs, though they aren't ever encouraged -- This is an automated message from the Apache Git Service. T

[GitHub] [hadoop] steveloughran commented on pull request #4966: HADOOP-18476. Abfs and S3A FileContext bindings to close wrapped filesystems in finalizer

2022-10-11 Thread GitBox
steveloughran commented on PR #4966: URL: https://github.com/apache/hadoop/pull/4966#issuecomment-1274487132 @mukund-thakur yes. once someone registers a deleteOnExit file, a strong ref to the FC is retained along with the list of files to delete. compare with the FS version, which is rea