[ 
https://issues.apache.org/jira/browse/HADOOP-13327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333502#comment-16333502
 ] 

Steve Loughran commented on HADOOP-13327:
-----------------------------------------

Reviewing this again. 

[~tmarquardt] : regarding your proposal that Stream.close() rethrows whichever 
exception was thrown earlier, I could add that to the {{CloseChecker}} . If it 
had a setter of an IOE, that could be served and subsequent close attempts 
would rethrow it.

I'm curious about what we *should* do here. What it does do is at least 
consistently say "this upload failed", so avoids giving the false impression 
that you can implement your own retry logic around close().






> Add OutputStream + Syncable to the Filesystem Specification
> -----------------------------------------------------------
>
>                 Key: HADOOP-13327
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13327
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>         Attachments: HADOOP-13327-002.patch, HADOOP-13327-branch-2-001.patch
>
>
> Write down what a Filesystem output stream should do. While core the API is 
> defined in Java, that doesn't say what's expected about visibility, 
> durability, etc —and Hadoop Syncable interface is entirely ours to define.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to