hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-2998) Calling DFSClient.close() should not throw IOException when it is already closed.
Date Wed, 09 Jul 2008 21:23:31 GMT

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

Tsz Wo (Nicholas), SZE resolved HADOOP-2998.
--------------------------------------------

    Resolution: Duplicate

Duplicated of HADOOP-2067

> 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
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 2998_20080311.patch
>
>
> 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.


Mime
View raw message