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)