hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnamoorthy Dharmalingam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11100) Support to configure ftpClient.setControlKeepAliveTimeout
Date Wed, 17 Sep 2014 09:38:33 GMT
Krishnamoorthy Dharmalingam created HADOOP-11100:
----------------------------------------------------

             Summary: 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
            Priority: Minor


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
(v6.3.4#6332)

Mime
View raw message