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

Yi Liu commented on HADOOP-11710:
---------------------------------

Sean, don't move {{closed = true;}}. {{super.close();}} will invoke flush to 
flush the remaining data in the buffer, if we set *closed* to true before 
invoking {{super.close()}}, we will get error. 
I think the test failure should be related to this.

> Make CryptoOutputStream behave like DFSOutputStream wrt synchronization
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-11710
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11710
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 2.6.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Critical
>         Attachments: HADOOP-11710.1.patch.txt, HADOOP-11710.2.patch.txt
>
>
> per discussion on parent, as an intermediate solution make CryptoOutputStream 
> behave like DFSOutputStream



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to