Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha4, 2.8.2
    • fs/adl, test
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: