Details

    • Type: Sub-task
    • 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/adl, test
    • Labels:
      None
    • Target Version/s:

      Description

      TestAdlFileSystemContractLive fails to clean up test directories after the tests.

      This is the leftover after testListStatus:

      $ bin/hadoop fs -ls -R /
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user/jzhuge
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user/jzhuge/FileSystemContractBaseTest
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user/jzhuge/FileSystemContractBaseTest/testListStatus
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user/jzhuge/FileSystemContractBaseTest/testListStatus/a
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user/jzhuge/FileSystemContractBaseTest/testListStatus/b
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user/jzhuge/FileSystemContractBaseTest/testListStatus/c
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:17 /user/jzhuge/FileSystemContractBaseTest/testListStatus/c/1
      

      This is the leftover after testMkdirsFailsForSubdirectoryOfExistingFile:

      $ bin/hadoop fs -ls -R /
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:22 /user
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:22 /user/jzhuge
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:22 /user/jzhuge/FileSystemContractBaseTest
      drwxr-xr-x   - ADLSAccessApp loginapp          0 2017-03-24 08:22 /user/jzhuge/FileSystemContractBaseTest/testMkdirsFailsForSubdirectoryOfExistingFile
      -rw-r--r--   1 ADLSAccessApp loginapp       2048 2017-03-24 08:22 /user/jzhuge/FileSystemContractBaseTest/testMkdirsFailsForSubdirectoryOfExistingFile/file
      

        Attachments

        1. HADOOP-14230.001.patch
          1 kB
          John Zhuge

          Issue Links

            Activity

              People

              • Assignee:
                jzhuge John Zhuge
                Reporter:
                jzhuge John Zhuge
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: