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

Lei (Eddy) Xu commented on HDFS-7569:
-------------------------------------

The findbugs seems not related.

This patch does not include tests, because the change is very trivial. 

> 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)

Reply via email to