Chris Nauroth commented on HADOOP-13607:

I was thinking we'd cover both {{FSDataOutputStream#close}} (hence updates to 
{{AbstractContractCreateTest}}) and {{FSDataInputStream#close}} (hence updates 
to {{AbstractContractOpenTest}}).

> 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

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to