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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/09/24 07:53:02 UTC
[jira] [Commented] (HADOOP-9993) FileSystem#close JavaDoc should
state that the implementation must be idempotent.
[ https://issues.apache.org/jira/browse/HADOOP-9993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776013#comment-13776013 ]
Chris Nauroth commented on HADOOP-9993:
---------------------------------------
See this comment:
https://issues.apache.org/jira/browse/MAPREDUCE-5508?focusedCommentId=13774702&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13774702
> FileSystem#close JavaDoc should state that the implementation must be idempotent.
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-9993
> URL: https://issues.apache.org/jira/browse/HADOOP-9993
> Project: Hadoop Common
> Issue Type: Improvement
> Components: documentation, fs
> Reporter: Chris Nauroth
>
> In discussion during MAPREDUCE-5508, we realized that any {{FileSystem}} subclass must implement an idempotent {{close}} method, due to potential multi-threaded interactions with the {{FileSystem#Cache}}. We should state this in the JavaDoc for {{FileSystem#close}}, so that subclass implementers are aware.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira