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

Hongbing Wang commented on HDFS-15641:
--------------------------------------

I have provided two alternative patch versions, [^HDFS-15641.002.patch] and 
[^HDFS-15641.003.patch] . 003.patch just puts UT into 
TestRefreshNamenodes.java. 

> DataNode could meet deadlock if invoke refreshNameNode
> ------------------------------------------------------
>
>                 Key: HDFS-15641
>                 URL: https://issues.apache.org/jira/browse/HDFS-15641
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Hongbing Wang
>            Assignee: Hongbing Wang
>            Priority: Critical
>         Attachments: HDFS-15641.001.patch, HDFS-15641.002.patch, 
> HDFS-15641.003.patch, deadlock.png, deadlock_fixed.png, jstack.log
>
>
> DataNode could meet deadlock when invoke `hdfs dfsadmin -refreshNamenodes 
> hostname:50020` to register a new namespace in federation env.
> The jstack is shown in jstack.log
>  The specific process is shown in Figure deadlock.png



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to