Description
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.
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)
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.