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

                 Key: HADOOP-2813
                 URL: https://issues.apache.org/jira/browse/HADOOP-2813
             Project: Hadoop Core
          Issue Type: Bug
          Components: fs
    Affects Versions: 0.16.1
            Reporter: Mukund Madhugiri
            Assignee: Robert Chansler
            Priority: Blocker
             Fix For: 0.16.1


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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to