You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/11/30 10:05:00 UTC

[jira] [Commented] (HADOOP-15074) SequenceFile#Writer flush does not update the length of the written file.

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

Steve Loughran commented on HADOOP-15074:
-----------------------------------------

you mean after a flush/sync the length of the file from a listing/getFileStatus hasn't changed?

> SequenceFile#Writer flush does not update the length of the written file.
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-15074
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15074
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>
> SequenceFile#Writer flush does not update the length of the file. This happens because as part of the flush, {{UPDATE_LENGTH}} flag is not passed to the DFSOutputStream#hsync.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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