hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14247) FileContextMainOperationsBaseTest should clean up test root path
Date Mon, 27 Mar 2017 23:44:41 GMT

    [ 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

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

View raw message