[
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