You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/03/05 01:07:44 UTC

[jira] [Assigned] (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 ]

Ted Yu reassigned HBASE-9355:
-----------------------------

    Assignee: Rekha Joshi

> 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
>            Assignee: Rekha Joshi
>            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
(v6.2#6252)