You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 17:59:00 UTC
[jira] [Updated] (HBASE-9355) HBaseTestingUtility#cleanupDataTestDirOnTestFS() doesn't close the FileSystem
[ https://issues.apache.org/jira/browse/HBASE-9355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell updated HBASE-9355:
---------------------------------------
Assignee: (was: Rekha Joshi)
Resolution: Abandoned
Status: Resolved (was: Patch Available)
> HBaseTestingUtility#cleanupDataTestDirOnTestFS() doesn't close the FileSystem
> -----------------------------------------------------------------------------
>
> Key: HBASE-9355
> URL: https://issues.apache.org/jira/browse/HBASE-9355
> Project: HBase
> Issue Type: Test
> Affects Versions: 0.92.2
> Reporter: Ted Yu
> Priority: Minor
> Attachments: HBASE-9355.1.patch
>
>
> Here is related code:
> {code}
> public boolean cleanupDataTestDirOnTestFS() throws IOException {
> boolean ret = getTestFileSystem().delete(dataTestDirOnTestFS, true);
> if (ret)
> dataTestDirOnTestFS = null;
> return ret;
> }
> {code}
> The FileSystem returned by getTestFileSystem() is not closed.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)