hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9993) FileSystem#close JavaDoc should state that the implementation must be idempotent.
Date Tue, 24 Sep 2013 05:53:02 GMT

    [ 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

Mime
View raw message