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 "Hudson (JIRA)" <ji...@apache.org> on 2018/10/17 19:00: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=16654054#comment-16654054 ] 

Hudson commented on HADOOP-11100:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15244 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/15244/])
HADOOP-11100. Support to configure ftpClient.setControlKeepAliveTimeout. (xiao: rev 24dc068a361648b4e59e1807b07ff2239f41c740)
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestCommonConfigurationFields.java
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/ftp/TestFTPFileSystem.java
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ftp/FTPFileSystem.java
* (edit) hadoop-common-project/hadoop-common/src/main/resources/core-default.xml


> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org