You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Adam Antal (JIRA)" <ji...@apache.org> on 2018/10/04 16:35:00 UTC
[jira] [Commented] (HADOOP-11100) Support to configure
ftpClient.setControlKeepAliveTimeout
[ https://issues.apache.org/jira/browse/HADOOP-11100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638480#comment-16638480 ]
Adam Antal commented on HADOOP-11100:
-------------------------------------
Uploaded patch v1, incorporating the changes you suggested in the first place. Following issues:
* I don't see how could this function be tested.
* Default has been set to 5 min. Is this reasonable?
* In my opinion in order to be compatible with the current behaviour this feature needs to be turned off by default.
> 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
> Attachments: 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org