hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7569) BlockReceiver did not close ReplicaOuputStreams
Date Wed, 24 Dec 2014 19:40:13 GMT

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

Lei (Eddy) Xu updated HDFS-7569:
--------------------------------
    Resolution: Invalid
        Status: Resolved  (was: Patch Available)

Two {{FileOutputStreams}} are exposed to {{BlockReceiver}} and are closed there instead.

> BlockReceiver did not close ReplicaOuputStreams 
> ------------------------------------------------
>
>                 Key: HDFS-7569
>                 URL: https://issues.apache.org/jira/browse/HDFS-7569
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 2.6.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-7569.000.patch
>
>
> {{BlockReceiver#streams}} is a {{ReplicaOutputStreams}}, which holds two {{FileOutputStream}}s,
i.e., {{ReplicaOutputStream#dataOut}} and {{checksumOut}}. The {{ReplicaOutputStreams#close}}
is never be called in non-test code to close these two streams.



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

Mime
View raw message