[ https://issues.apache.org/jira/browse/HDFS-5832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated HDFS-5832: --------------------------- Attachment: HDFS-5832.patch Attaching a proposal where I have moved the namesystem.isInSafeMode(); out of datanodeMap lock. Could someone help me to validate this case. Thanks > Deadeadlock found in NN between SafeMode#canLeave and DatanodeManager#handleHeartbeat > ------------------------------------------------------------------------------------- > > Key: HDFS-5832 > URL: https://issues.apache.org/jira/browse/HDFS-5832 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 3.0.0 > Reporter: Rakesh R > Assignee: Rakesh R > Priority: Blocker > Attachments: HDFS-5832.patch, jcarder_nn_deadlock.gif > > > Found the deadlock during the Namenode startup. Attached jcarder report which shows the cycles about the deadlock situation. -- This message was sent by Atlassian JIRA (v6.1.5#6160)