[
https://issues.apache.org/jira/browse/HADOOP-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653958#comment-14653958
]
Steve Loughran commented on HADOOP-8602:
----------------------------------------
test triggers an NPE
{code}
java.lang.NullPointerException: null
at
org.apache.hadoop.fs.ftp.TestFTPFileSystem.testFTPClientConnectionMode(TestFTPFileSystem.java:37)
{code}
> 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
> Attachments: HADOOP-8602.004.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)