[ https://issues.apache.org/jira/browse/HADOOP-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reid Chan updated HADOOP-8602: ------------------------------ Attachment: HADOOP-8602.008.patch > Passive mode support for FTPFileSystem > -------------------------------------- > > Key: HADOOP-8602 > URL: https://issues.apache.org/jira/browse/HADOOP-8602 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Affects Versions: 1.0.3, 2.0.0-alpha > Reporter: Nemon Lou > Priority: Minor > Labels: BB2015-05-TBR > Fix For: 2.7.1 > > Attachments: HADOOP-8602.004.patch, HADOOP-8602.005.patch, > HADOOP-8602.006.patch, HADOOP-8602.007.patch, HADOOP-8602.008.patch, > HADOOP-8602.patch, HADOOP-8602.patch, HADOOP-8602.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)