[ https://issues.apache.org/jira/browse/HADOOP-11100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Chen updated HADOOP-11100: ------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 3.3.0 Status: Resolved (was: Patch Available) +1, committed to trunk. Thanks [~adam.antal] for the fix, [~knanasi] for the review and [~proveindia] for filing the jira. > Support to configure ftpClient.setControlKeepAliveTimeout > ---------------------------------------------------------- > > Key: HADOOP-11100 > URL: https://issues.apache.org/jira/browse/HADOOP-11100 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Affects Versions: 2.3.0 > Reporter: Krishnamoorthy Dharmalingam > Assignee: Adam Antal > Priority: Minor > Fix For: 3.3.0 > > Attachments: HADOOP-11100.002.patch, HADOOP-11100.003.patch, > HADOOP-11100.004.patch, HDFS-11000.001.patch > > > In FTPFilesystem or Configuration, timeout is not possible to configure. > It is very straight forward to configure, in FTPFilesystem.connect() method. > ftpClient.setControlKeepAliveTimeout > Like > private FTPClient connect() throws IOException { > ... > String timeout = conf.get("fs.ftp.timeout." + host); > ... > ftpClient.setControlKeepAliveTimeout(new Integer(300)); > .... > } -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org