Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8844

TestHDFSCLI does not cleanup the test directory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      If TestHDFSCLI is executed twice without mvn clean, the second try fails. Here are the failing test cases:

      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(231)) - Failing tests:
      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(232)) - --------------
      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 226: get: getting non existent(absolute path)
      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 227: get: getting non existent file(relative path)
      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 228: get: Test for hdfs:// path - getting non existent
      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 229: get: Test for Namenode's path - getting non existent
      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 250: copyToLocal: non existent relative path
      2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 251: copyToLocal: non existent absolute path
      2015-07-31 21:35:17,655 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 252: copyToLocal: Test for hdfs:// path - non existent file/directory
      2015-07-31 21:35:17,655 [main] INFO  cli.CLITestHelper (CLITestHelper.java:displayResults(238)) - 253: copyToLocal: Test for Namenode's path - non existent file/directory
      

        Attachments

        1. HDFS-8844.001.patch
          0.7 kB
          Masatake Iwasaki

          Activity

            People

            • Assignee:
              iwasakims Masatake Iwasaki
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: