[
https://issues.apache.org/jira/browse/HDFS-9701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119255#comment-15119255
]
Vinayakumar B commented on HDFS-9701:
-------------------------------------
One issue I am seeing here is in {{FSVolumeList#checkDirs()}}
{code}
private final VolumeChoosingPolicy<FsVolumeImpl> blockChooser;
@@ -257,10 +260,33 @@ public void run() {
+ " failure volumes.");
}
+ waitVolumeRemoved(5000, this);
return failedVols;
}
}{code}
I believe, this call will get, {{IllegalMonitorStateException}}.
{{checkDirsMutex}} should be passed instead of {{this}}
> DN may deadlock when hot-swapping under load
> --------------------------------------------
>
> Key: HDFS-9701
> URL: https://issues.apache.org/jira/browse/HDFS-9701
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Xiao Chen
> Assignee: Xiao Chen
> Attachments: HDFS-9701.01.patch, HDFS-9701.02.patch,
> HDFS-9701.03.patch, HDFS-9701.04.patch
>
>
> If the DN is under load (new blocks being written), a hot-swap task by {{hdfs
> dfsadmin -reconfig}} may cause a dead lock.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)