[ https://issues.apache.org/jira/browse/HDFS-16600?focusedWorklogId=782414&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-782414 ]
ASF GitHub Bot logged work on HDFS-16600: ----------------------------------------- Author: ASF GitHub Bot Created on: 17/Jun/22 14:07 Start Date: 17/Jun/22 14:07 Worklog Time Spent: 10m Work Description: Hexiaoqiao commented on PR #4367: URL: https://github.com/apache/hadoop/pull/4367#issuecomment-1158908156 The latest build looks good to me. Committed to trunk. Thanks @ZanderXu for your report and contributions! Thanks @ayushtkn / @MingXiangLi / @slfan1989 for your warm discussions and helpful suggestions! Issue Time Tracking ------------------- Worklog Id: (was: 782414) Time Spent: 5h (was: 4h 50m) > Fix deadlock of fine-grain lock for FsDatastImpl of DataNode. > ------------------------------------------------------------- > > Key: HDFS-16600 > URL: https://issues.apache.org/jira/browse/HDFS-16600 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: ZanderXu > Assignee: ZanderXu > Priority: Major > Labels: pull-request-available > Time Spent: 5h > Remaining Estimate: 0h > > The UT > org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.testSynchronousEviction > failed, because happened deadlock, which is introduced by > [HDFS-16534|https://issues.apache.org/jira/browse/HDFS-16534]. > DeadLock: > {code:java} > // org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.createRbw line 1588 > need a read lock > try (AutoCloseableLock lock = lockManager.readLock(LockLevel.BLOCK_POOl, > b.getBlockPoolId())) > // org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.evictBlocks line > 3526 need a write lock > try (AutoCloseableLock lock = lockManager.writeLock(LockLevel.BLOCK_POOl, > bpid)) > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org