Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HBASE-25691 Test failure: TestVerifyBucketCacheFile.testRetrieveFromF…
…ile (#3087) The issue is that FileInputStream is created with try-with-resources, so its close() is called right after the try sentence. FileInputStream is a finalize class, when this object is garbage collected, its close() is called again. To avoid this double-free resources, add guard against it. Signed-off-by: stack <stack@apache.org>
- Loading branch information