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 "nemon lou (JIRA)" <ji...@apache.org> on 2012/07/17 05:06:36 UTC

[jira] [Created] (HADOOP-8602) Passive mode support for FTPFileSystem

nemon lou created HADOOP-8602:
---------------------------------

             Summary: 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: 2.0.0-alpha, 1.0.3
            Reporter: nemon lou
            Priority: Minor


 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8602) Passive mode support for FTPFileSystem

Posted by "nemon lou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nemon lou updated HADOOP-8602:
------------------------------

    Attachment: HADOOP-8602.patch
    
> 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
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8602) Passive mode support for FTPFileSystem

Posted by "nemon lou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421993#comment-13421993 ] 

nemon lou commented on HADOOP-8602:
-----------------------------------

I havn't found any test case for FTPFileSystem.java. So no test case added for passive mode option.
I will add one if necessary.
                
> 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
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira