tgravescs commented on code in PR #38622:
URL: https://github.com/apache/spark/pull/38622#discussion_r1022918575


##########
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala:
##########
@@ -815,6 +815,7 @@ private[spark] class ApplicationMaster(
       case Shutdown(code) =>
         exitCode = code
         shutdown = true
+        allocator.setShutdown(true)

Review Comment:
   yeah this won't fix your issue as is so we would need something for cluster 
mode. I'm fine with sending the shutdown message.  It would be nice if you 
could test the fix on your use case to make sure it fixes it as well.



-- 
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]

Reply via email to