yaooqinn commented on code in PR #38732: URL: https://github.com/apache/spark/pull/38732#discussion_r1152961738
########## resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsAllocator.scala: ########## @@ -148,6 +163,10 @@ class ExecutorPodsAllocator( def isDeleted(executorId: String): Boolean = deletedExecutorIds.contains(executorId.toLong) + private[k8s] def stopApplication(exitCode: Int): Unit = { + sys.exit(exitCode) Review Comment: not necessary to create a new func? -- 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