yunikorn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-yunikorn-core] yangwwei opened a new pull request #92: fix a scheduler deadlock
Date Fri, 28 Feb 2020 20:03:10 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org


Mime
View raw message