holdenk commented on a change in pull request #26440:
[WIP][SPARK-20628][CORE][K8S] Start to improve Spark decommissioning &
preemption support
URL: https://github.com/apache/spark/pull/26440#discussion_r364997379
##########
File path: core/src/main/scala/org/apache/spark/util/SignalUtils.scala
##########
@@ -60,10 +60,11 @@ private[spark] object SignalUtils extends Logging {
if (SystemUtils.IS_OS_UNIX) {
try {
val handler = handlers.getOrElseUpdate(signal, {
- logInfo("Registered signal handler for " + signal)
+ logInfo("Registering signal handler for " + signal)
new ActionHandler(new Signal(signal))
})
handler.register(action)
+ logInfo("Registered signal handler for " + signal)
Review comment:
So strangely enough not always while I was working on this (before I'd
settled on SIGPWR) -- but that's likely no longer important corner case, I'll
remove this.
----------------------------------------------------------------
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]