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 "Hongyuan Li (JIRA)" <ji...@apache.org> on 2017/06/21 06:25:00 UTC
[jira] [Comment Edited] (HADOOP-14559) The used FTPFileSystem in
TestFTPFileSystem should be closed in each test case.
[ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org