luoyuan3471 commented on PR #4726:
URL: https://github.com/apache/hadoop/pull/4726#issuecomment-1210237613

   CapacityScheduler.refreshQueue: hold: PremmptionManager.writeLock
                                   require: csqueue.readLock
   
   CapacityScheduler.schedule: hold: csqueue.readLock
                               require: PremmptionManager.readLock
   
   other thread(completeContainer,release Resource,etc.): require: 
csqueue.writeLock 
   
   @yb12138 
   schedule thread hold csqueue.readLock and it is blocked by 
PremmptionManager.readLock , and PremmptionManager.writeLock is hold by 
refreshQueue thread, seems refreshQueue have no chance to get csqueue.readLock. 
   
   Very sorry, I'm still a little confused on this point. Can you explain more 
about it? Thank you!
   
   
   


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