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

Unit test fails on Linux: org.apache.hadoop.fs.TestDU.testDU

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.16.1
    • Fix Version/s: 0.16.1
    • Component/s: fs
    • Labels:
      None

      Description

      Unit test fails on Linux: org.apache.hadoop.fs.TestDU.testDU. This is a regression

      Changes that went in yesterday were:
      HADOOP-2725. Modify distcp to avoid leaving partially copied files at the destination after encountering an error.
      HADOOP-2193. 'fs -rm' and 'fs -rmr' show error message when the target file does not exist.

      Here is the error from the test run:
      org.apache.hadoop.util.Shell$ExitCodeException: /usr/bin/du: cannot access `/home/xxxxxx/workspace/Hadoop-LinuxTest/trunk/build/test/mapred/system/distcp_i0ebq9/.nfs00000000004aa47f00001ba0': No such file or directory
      /usr/bin/du: cannot access `/home/xxxxxx/workspace/Hadoop-LinuxTest/trunk/build/test/mapred/system/distcp_i0ebq9/.nfs00000000004aa48000001b9f': No such file or directory
      /usr/bin/du: cannot access `/home/xxxxxx/workspace/Hadoop-LinuxTest/trunk/build/test/mapred/system/distcp_r3r1fo/.nfs00000000004aa48200001ba2': No such file or directory
      /usr/bin/du: cannot access `/home/xxxxxx/workspace/Hadoop-LinuxTest/trunk/build/test/mapred/system/distcp_r3r1fo/.nfs00000000004aa48300001ba1': No such file or directory

      at org.apache.hadoop.util.Shell.runCommand(Shell.java:161)
      at org.apache.hadoop.util.Shell.run(Shell.java:100)
      at org.apache.hadoop.fs.DU.getUsed(DU.java:53)
      at org.apache.hadoop.fs.TestDU.testDU(TestDU.java:62)
      at org.apache.hadoop.fs.TestDU.testDU(TestDU.java:71)

        Attachments

        1. hadoop-2813_1.patch
          0.9 kB
          Mahadev Konar
        2. hadoop-2813_2.patch
          1 kB
          Mahadev Konar

          Issue Links

            Activity

              People

              • Assignee:
                mahadev Mahadev Konar
                Reporter:
                mukundm Mukund Madhugiri
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: