You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/03/11 21:10:46 UTC
[jira] Updated: (HADOOP-2998) Calling DFSClient.close() should not
throw IOException when it is already closed.
[ https://issues.apache.org/jira/browse/HADOOP-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-2998:
-------------------------------------------
Summary: Calling DFSClient.close() should not throw IOException when it is already closed. (was: Calling DFSClient.close() should not throw IOException.)
> Calling DFSClient.close() should not throw IOException when it is already closed.
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-2998
> URL: https://issues.apache.org/jira/browse/HADOOP-2998
> Project: Hadoop Core
> Issue Type: Bug
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
>
> In Java, if a stream is opened, it can be closed for more than one times without any exception. For example,
> {code}
> OutputStream out = ...;
> ...
> out.close();
> out.close(); //no exception thrown here
> {code}
> So, DFSClient.close() should also do the same.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.