[ 
https://issues.apache.org/jira/browse/HADOOP-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Douglas updated HADOOP-5732:
----------------------------------
    Attachment: HADOOP-5732.010.patch

- Fixed {{SFTPInputStream::close()}} to be idempotent as 
[required|http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html]
- Set exception as cause, rather than {{StringUtils::stringifyException}} as 
message
- Changed test to use JUnit4 annotations
- Changed test to use test dir instead of {{/tmp}}
- Added an assumption that skips running the tests on Windows (haven't tested)
- Added checks to some tests to check the result of SFTP on the local fs

[~ramtinb], could you look over the patch? While there are other parts of the 
impl that could be fussed over, if this has been working in production 
environments then we can leave it alone.

> SFTP FileSystem
> ---------------
>
>                 Key: HADOOP-5732
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5732
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>         Environment: Any environment
>            Reporter: Íñigo Goiri
>            Assignee: ramtin
>            Priority: Minor
>         Attachments: HADOOP-5732.008.patch, HADOOP-5732.009.patch, 
> HADOOP-5732.010.patch, HADOOP-5732.patch, HADOOP-5732.patch, 
> HADOOP-5732.patch, HADOOP-5732.patch, HADOOP-5732.patch, 
> ivy-for-hadoop-7532.patch, ivy-for-hadoop-7532.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> I have implemented a FileSystem that supports SFTP. It uses JSch 
> (http://www.jcraft.com/jsch/) in order to manage SFTP.



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

Reply via email to