add KernelNanny for remote signaling#514
Merged
minrk merged 2 commits intoipython:mainfrom Jul 7, 2021
Merged
Conversation
Nanny proxies control channel - add Client.send_signal for signaling engines - notify Hub immediately on process exit instead of waiting for heart failure - exit Engine on any error during completion of registration - consolidate `_send_control_request` for control-channel requests - fix some mixed str/bytes uuid/identity logic in the Hub
Send all process output to a file For easier retrieval of output on failure
This was referenced Jul 6, 2021
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nanny proxies control channel, so it can intercept control messages and handle those
Client.send_signalfor signaling engines (closes Add registration information to launchers #475)_send_control_requestfor control-channel requestsSignaling engines directly solves two problems with signaling via e.g. mpiexec and the Cluster API:
In the future, this could also enable
abort_requestto trigger an interrupt if the to-be-aborted message happens to be processing at the moment. The nanny could subscribe to the IOPub channel to watch status messages to determine what task is currently processing