Github user liyinan926 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20722#discussion_r171975765
  
    --- Diff: 
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/submit/KubernetesClientApplication.scala
 ---
    @@ -159,6 +159,19 @@ private[spark] class Client(
             logInfo(s"Waiting for application $appName to finish...")
             watcher.awaitCompletion()
             logInfo(s"Application $appName finished.")
    +        try {
    --- End diff --
    
    Per the discussion offline, I think the right solution is move resource 
management to the driver pod. This way, resource cleanup is guaranteed 
regardless of the deployment mode.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to