Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None

      Description

      Testsuite: org.apache.hadoop.fs.ftp.TestFTPFileSystem
      Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.307 sec
      
      Testcase: testReadWrite took 0.292 sec
              Caused an ERROR
      FTP server start-up failed
      java.lang.RuntimeException: FTP server start-up failed
              at org.apache.hadoop.fs.ftp.TestFTPFileSystem.startServer(TestFTPFileSystem.java:77)
              at org.apache.hadoop.fs.ftp.TestFTPFileSystem.setUp(TestFTPFileSystem.java:89)
      Caused by: org.apache.ftpserver.FtpServerConfigurationException:
       User data file specified but could not be located, neither on the file system or in the
       classpath: /home/tsz/hadoop/hdfs/h1/src/test/ftp.user.properties
              at org.apache.ftpserver.usermanager.impl.PropertiesUserManager.loadFromFile(PropertiesUserManager.java:183)
              at org.apache.ftpserver.usermanager.impl.PropertiesUserManager.<init>(PropertiesUserManager.java:137)
              at org.apache.ftpserver.usermanager.PropertiesUserManagerFactory.createUserManager(PropertiesUserManagerFactory.java:52)
              at org.apache.hadoop.fs.ftp.TestFTPFileSystem.startServer(TestFTPFileSystem.java:68)
      
      1. h441_20090629.patch
        6 kB
        Tsz Wo Nicholas Sze

        Issue Links

          Activity

          Hide
          Tsz Wo Nicholas Sze added a comment - - edited

          FTPFileSystem (or TestFTPFileSystem) indeed are nothing to do with HDFS. Instead of fixing TestFTPFileSystem in hdfs, the test should be moved to Hadoop Common.

          Show
          Tsz Wo Nicholas Sze added a comment - - edited FTPFileSystem (or TestFTPFileSystem) indeed are nothing to do with HDFS. Instead of fixing TestFTPFileSystem in hdfs, the test should be moved to Hadoop Common.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          I filed HADOOP-6119 for adding TestFTPFileSystem to Common. I will submit a patch for removing it from HDFS.

          Show
          Tsz Wo Nicholas Sze added a comment - I filed HADOOP-6119 for adding TestFTPFileSystem to Common. I will submit a patch for removing it from HDFS.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          h441_20090629.patch: remove the test.

          Show
          Tsz Wo Nicholas Sze added a comment - h441_20090629.patch: remove the test.
          Hide
          Boris Shkolnik added a comment -

          +1
          removes the test

          Show
          Boris Shkolnik added a comment - +1 removes the test
          Hide
          Tsz Wo Nicholas Sze added a comment -
               [exec] -1 overall.  
               [exec] 
               [exec]     +1 @author.  The patch does not contain any @author tags.
               [exec] 
               [exec]     +1 tests included.  The patch appears to include 3 new or modified tests.
               [exec] 
               [exec]     -1 javadoc.  The javadoc tool appears to have generated 1 warning messages.
               [exec] 
               [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
               [exec] 
               [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
               [exec] 
               [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.
          

          The javadoc warning is not related.

          Show
          Tsz Wo Nicholas Sze added a comment - [exec] -1 overall. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] -1 javadoc. The javadoc tool appears to have generated 1 warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. The javadoc warning is not related.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          I have committed this.

          Show
          Tsz Wo Nicholas Sze added a comment - I have committed this.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #8 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/8/)
          . Remove TestFTPFileSystem.

          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #8 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/8/ ) . Remove TestFTPFileSystem.

            People

            • Assignee:
              Tsz Wo Nicholas Sze
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development