You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2017/03/27 23:44:41 UTC

[jira] [Commented] (HADOOP-14247) FileContextMainOperationsBaseTest should clean up test root path

    [ https://issues.apache.org/jira/browse/HADOOP-14247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944245#comment-15944245 ] 

Mingliang Liu commented on HADOOP-14247:
----------------------------------------

[~stevel@apache.org]  can you have a quick look?

> FileContextMainOperationsBaseTest should clean up test root path
> ----------------------------------------------------------------
>
>                 Key: HADOOP-14247
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14247
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 2.8.0
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>            Priority: Minor
>         Attachments: HADOOP-14247.000.patch
>
>
> {{fileContextTestHelper}} will create random test root directory for each test case, say $RANDOM. After test, we only delete the $RANDOM/test directory in tearDown(). This will leave dangling directories under the {{test-dir}} directory. For S3A with S3Guard enabled, those useless test directories will stay in DynamoDB forever. Let's clear out the test root path, which is (generated randomly and) safe to remove.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org