[
https://issues.apache.org/jira/browse/HDFS-7569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lei (Eddy) Xu updated HDFS-7569:
--------------------------------
Attachment: HDFS-7569.000.patch
This patch call {{ReplicaOutputStreams#close}} from {{BlockReceiver#close}}.
> 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)