You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Dzianis Sokal (JIRA)" <ji...@apache.org> on 2014/09/25 13:53:34 UTC

[jira] [Created] (HADOOP-11135) Support PASSIVE mode in FTPFileSystem

Dzianis Sokal created HADOOP-11135:
--------------------------------------

             Summary: Support PASSIVE mode in FTPFileSystem
                 Key: HADOOP-11135
                 URL: https://issues.apache.org/jira/browse/HADOOP-11135
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
            Reporter: Dzianis Sokal


org.apache.hadoop.fs.ftp.FTPFileSystem initializes org.apache.commons.net.ftp.FTPClient with default ACTIVE_LOCAL_DATA_CONNECTION_MODE and there is no way to alter that. The FTPFileSystem related code hangs when ACTIVE connection can't be established. Hangs in FTPClient line 490:
{code}
org.apache.commons.net.ftp.FTPClient._openDataConnection_{
...
if (!FTPReply.isPositivePreliminary(sendCommand(command, arg)))
...
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)