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

Jonathan Eagles commented on TEZ-3648:
--------------------------------------

IFileOutputStream#finish writes the checksum and then flushes the buffer. As 
long as the compressed stream finishes, its data is pushed into the checksum 
stream and will be accounted for in the checksum. 

> IFile.Write#close has an extra output stream flush
> --------------------------------------------------
>
>                 Key: TEZ-3648
>                 URL: https://issues.apache.org/jira/browse/TEZ-3648
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: TEZ-3648.1.patch
>
>
> Tez adds an extra checksum output stream layer. There is no need to flush the 
> unbuffered stream layer and then the lower buffered stream layer. This patch 
> is to remove the extra flush.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to