mridulm edited a comment on pull request #33869: URL: https://github.com/apache/spark/pull/33869#issuecomment-910560847
@tgravescs If the concern is blocking on `postStartHook`, moving the shutdown hook addition to just before that should be fine : since all other initialization is done by then. Moving all the way to beginning would mean we can have both threads racing on the state updates : one trying to clean up and trying to initialize them. -- 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]
