Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14247

FileContextMainOperationsBaseTest should clean up test root path

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha4, 2.8.2
    • Component/s: fs, test
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              liuml07 Mingliang Liu
              Reporter:
              liuml07 Mingliang Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: