AngersZhuuuu commented on code in PR #38622: URL: https://github.com/apache/spark/pull/38622#discussion_r1028739055
########## 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: It's ok to send `Shutdown` in cluster mode too, not only for client mode. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org