[
https://issues.apache.org/jira/browse/HDFS-8778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-8778:
--------------------------------
Attachment: HDFS-8778.01.patch
The fix is to make {{requestBlockReportLease}} non-blocking.
Also ensure that the cluster is shutdown on test failure.
> TestBlockReportRateLimiting#testLeaseExpiration can deadlock
> ------------------------------------------------------------
>
> Key: HDFS-8778
> URL: https://issues.apache.org/jira/browse/HDFS-8778
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 2.7.1
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Attachments: HDFS-8778.01.patch
>
>
> {{requestBlockReportLease}} blocks on DataNode registration while holding the
> NameSystem read lock.
> DataNode registration can block on the NameSystem read lock if a writer gets
> in the queue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)