[
https://issues.apache.org/jira/browse/HDFS-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288427#comment-14288427
]
Lei (Eddy) Xu commented on HDFS-7660:
-------------------------------------
The failed tests are not related. TestDataNodeRollingUpgrade and
TestRetryCacheWithHA passed on my local machine, and TestFileTruncate failed on
trunk as well.
This patch is trivial so there is no additional test.
> BlockReceiver#close() might be called multiple times, which causes the
> fsvolume reference being released incorrectly.
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-7660
> URL: https://issues.apache.org/jira/browse/HDFS-7660
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Priority: Minor
> Attachments: HDFS-7660.000.patch
>
>
> {{BlockReceiver.close()}} might be called from multiple places, e.g.
> {{PacketResponder#finalizeBlock}} and {{BlockReceiver#receiveBlock}}.
> As a result, {{BlockReceiver#replicaHander}} should be set to {{null}} after
> release the resource.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)