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

Xiaobing Zhou commented on HDFS-9701:
-------------------------------------

Thanks [~xiaochen] for the work. Could you explain why the step#2 is true?
{noformat}
Reconfigure task locks on the FsDatasetImpl object
{noformat}

It looks like Reconfigure task only locks on a member lock 
ReconfigurableBase#reconfigLock.

> 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, HDFS-9701.05.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)

Reply via email to