ZanderXu opened a new pull request, #4367:
URL: https://github.com/apache/hadoop/pull/4367

   Detail info please refer to 
[HDFS-16600](https://issues.apache.org/jira/browse/HDFS-16600). 
   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).
   
   ```
   // 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))
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to