Chris Nauroth created HADOOP-9993:
-------------------------------------
Summary: 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