hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8602) Passive mode support for FTPFileSystem
Date Thu, 06 Aug 2015 16:58:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660332#comment-14660332
] 

Steve Loughran commented on HADOOP-8602:
----------------------------------------

having get/set operations would be a bit of an ugly workaround: actually having the passive
mode would be the ideal one.

> Passive mode support for FTPFileSystem
> --------------------------------------
>
>                 Key: HADOOP-8602
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8602
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Nemon Lou
>            Priority: Minor
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-8602.004.patch, HADOOP-8602.005.patch, HADOOP-8602.006.patch,
HADOOP-8602.007.patch, HADOOP-8602.patch, HADOOP-8602.patch, HADOOP-8602.patch
>
>
>  FTPFileSystem uses active mode for default data connection mode.We shall be able to
choose passive mode when active mode doesn't work (firewall for example).
>  My thoughts is to add an option "fs.ftp.data.connection.mode" in core-site.xml.Since
FTPClient(in org.apache.commons.net.ftp package) already supports passive mode, we just need
to add a few code in FTPFileSystem .connect() method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message