hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HADOOP-2863) FSDataOutputStream should not flush() inside close().
Date Wed, 20 Feb 2008 21:53:43 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Raghu Angadi reassigned HADOOP-2863:

    Assignee: Raghu Angadi

> FSDataOutputStream should not flush() inside close().
> -----------------------------------------------------
>                 Key: HADOOP-2863
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2863
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>             Fix For: 0.17.0
>         Attachments: HADOOP-2863.patch
> Why does FSDataOutputStream.close() call flush()? This stream itself does not store any
data that it needs to flush. It is a wrapper and it should just invoke its outputstream's
> For. e.g one bad side effect is that, in the case of DFSOutputStream which extends FSOutputSummer,
flush() inside close sends the current data even though FSOutputSummer might have some data..
this left over data will be sent in side close() (so it sends data in two different packets
instead of one). Other filesystems might have similar side effects.
> I will submit a patch.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message