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

Passive mode support for FTPFileSystem

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3, 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
    • Target Version/s:

      Description

      FTPFileSystem uses active mode for default data connection mode.We shall be able to choose passive mode when active mode doesn't work (firewall for example).
      My thoughts is to add an option "fs.ftp.data.connection.mode" in core-site.xml.Since FTPClient(in org.apache.commons.net.ftp package) already supports passive mode, we just need to add a few code in FTPFileSystem .connect() method.

        Attachments

        1. HADOOP-8602.004.patch
          4 kB
          Reid Chan
        2. HADOOP-8602.005.patch
          5 kB
          Reid Chan
        3. HADOOP-8602.006.patch
          5 kB
          Reid Chan
        4. HADOOP-8602.007.patch
          4 kB
          Reid Chan
        5. HADOOP-8602.008.patch
          4 kB
          Reid Chan
        6. HADOOP-8602.009.patch
          4 kB
          Reid Chan
        7. HADOOP-8602.patch
          2 kB
          Michael Howard
        8. HADOOP-8602.patch
          2 kB
          Nemon Lou
        9. HADOOP-8602.patch
          2 kB
          Nemon Lou

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nemon Nemon Lou
            • Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: