hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9701) DN may deadlock when hot-swapping under load
Date Thu, 28 Jan 2016 06:15:39 GMT

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

Xiao Chen commented on HDFS-9701:
---------------------------------

Thanks [~xiaobingo] for looking at this. We actually have multiple locks along the reconfig
stack. :)
In step 2, the locking I was referring to is inside FsDatasetImpl. Specifically [this line|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java#L486].
Please see my first comment above for the stack trace.

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

Mime
View raw message