[
https://issues.apache.org/jira/browse/HADOOP-13607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15488263#comment-15488263
]
Chris Nauroth commented on HADOOP-13607:
----------------------------------------
I'd also like to add tests to {{AbstractContractCreateTest}} and
{{AbstractContractOpenTest}} that test idempotence of the stream {{close}}
methods.
> Specify and test contract for FileSystem#close.
> -----------------------------------------------
>
> Key: HADOOP-13607
> URL: https://issues.apache.org/jira/browse/HADOOP-13607
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Reporter: Chris Nauroth
>
> This issue proposes to enhance the {{FileSystem}} specification by describing
> the expected semantics of {{FileSystem#close}} and adding corresponding
> contract tests. Notable aspects are that the method must be idempotent as
> dictated by {{java.io.Closeable}} and closing also interacts with the
> delete-on-exit feature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]