himanshug edited a comment on issue #6201: Deadlock on overlord with HttpRemoteTaskRunner URL: https://github.com/apache/incubator-druid/issues/6201#issuecomment-414808208 great, that helps. I think I understand the problem. HRTR is calling notification on attached listeners while still holding the `statusLock` , those listener's reaction ends up doing something that needs `statusLock` . Solution would be to call the listeners without holding `statusLock` . which means `TaskRunnerUtils.notifyXX` should be called outside the lock. It has the mechanism to run listener in an executor service, but it appears `SameThreadExecutor` is used everywhere. I will raise a PR sometime soon.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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]
