[jira] [Comment Edited] (HADOOP-14559) The used FTPFileSystem in TestFTPFileSystem should be closed in each test case.

2017-06-21 Thread Hongyuan Li (JIRA)

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

Hongyuan Li edited comment on HADOOP-14559 at 6/21/17 3:12 PM:
---

Thanks for your advice. [~ste...@apache.org]. Will do it soon.

*update*

submit the patch as suggested by [~ste...@apache.org]


was (Author: hongyuan li):
Thanks for your advice. [~ste...@apache.org]. Will do it soon.

> The used FTPFileSystem in TestFTPFileSystem should be closed in each test 
> case.
> ---
>
> Key: HADOOP-14559
> URL: https://issues.apache.org/jira/browse/HADOOP-14559
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: fs, test
>Reporter: Hongyuan Li
>Assignee: Hongyuan Li
>Priority: Minor
> Attachments: HADOOP-14559-001.patch
>
>
> The used FTPFileSystem in TestFTPFileSystem should be closed in each test 
> case as an improvement.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-14559) The used FTPFileSystem in TestFTPFileSystem should be closed in each test case.

2017-06-20 Thread Hongyuan Li (JIRA)

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

Hongyuan Li edited comment on HADOOP-14559 at 6/21/17 6:24 AM:
---

[~yzhangal] i deeped into the  FileSystem api and  to find that 
{{FTPFileSystem}}#{{close}} does nothing.The code example below does not put 
the created FTPFileSystem instances into {{FileSystem}}#{{CACHE}}.So, should 
this be a problem to solve?
{code}
FTPFileSystem ftp = new FTPFileSystem();
ftp.close();
{code}


was (Author: hongyuan li):
[~yzhangal] i deeped into the  FileSystem api and  to find that 
{{FTPFileSystem}}#{{close}} does nothing.The code below does not put the 
created FTPFileSystem instances into {{FileSystem}}#{{CACHE}}.So, should this 
be a problem to solve?

> The used FTPFileSystem in TestFTPFileSystem should be closed in each test 
> case.
> ---
>
> Key: HADOOP-14559
> URL: https://issues.apache.org/jira/browse/HADOOP-14559
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: fs, test
>Reporter: Hongyuan Li
>Assignee: Hongyuan Li
>Priority: Minor
>
> The used FTPFileSystem in TestFTPFileSystem should be closed in each test 
> case as an improvement.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org