yangwwei opened a new pull request #92: fix a scheduler deadlock URL: https://github.com/apache/incubator-yunikorn-core/pull/92 looks like we are having a deadlock situation when 1. scheduler is running the trySchedule loop 2. scheduler is trying to recover some existing allocations, calling scheduling_application#recoverOnNode in the 1st call, it always tries to acquire the queue's lock, then app's lock; in the 2nd call, it tries to acquire the app's lock then queue's lock then it's easy to hit deadlock when they are running concurrently.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
