Xiao Chen created HADOOP-13954:
----------------------------------

             Summary: Some TestFTPContract tests are failing
                 Key: HADOOP-13954
                 URL: https://issues.apache.org/jira/browse/HADOOP-13954
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs, test
            Reporter: Xiao Chen


Tried to follow 
http://hadoop.apache.org/docs/r3.0.0-alpha1/hadoop-project-dist/hadoop-common/filesystem/testing.html
 and run some FTPContract tests locally on MacOS, and failed.

{noformat}
TestFTPContractRename#testRenameFileNonexistentDir:
java.io.IOException: Cannot rename source: 
ftp://localhost/testfpt/testRenameWithNonEmptySubDir/src1 to 
ftp://localhost/testfpt/testRenameWithNonEmptySubDir/dest/src1 -only same 
directory renames are supported

TestFTPContractRename#testRenameNewFileSameDir:
java.lang.AssertionError: rename(ftp://localhost/testfpt/rename_src, 
ftp://localhost/testfpt/rename_dest) returned false

TestFTPContractCreate#testCreatedFileIsEventuallyVisible:
org.apache.hadoop.fs.ftp.FTPException: Client not connected

        at 
org.apache.hadoop.fs.ftp.FTPFileSystem$1.close(FTPFileSystem.java:268)
        at 
org.apache.hadoop.fs.contract.AbstractContractCreateTest.testCreatedFileIsEventuallyVisible(AbstractContractCreateTest.java:232)
{noformat}

Didn't have time to look into but let's use this jira to track.

Side note, would be great to improve the doc too: ftp config file is not 
{{contract-test-options.xml}} but 
{{hadoop-common-project/hadoop-common/src/test/resources/contract/ftp.xml}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to