You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/06/27 16:52:58 UTC

[GitHub] [spark] holdenk commented on a diff in pull request #36434: [SPARK-38969][K8S] Fix Decom reporting

holdenk commented on code in PR #36434:
URL: https://github.com/apache/spark/pull/36434#discussion_r907595853


##########
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/decom.sh:
##########
@@ -18,17 +18,24 @@
 #
 
 
-set -ex
+set +e
+set -x
 echo "Asked to decommission"
 # Find the pid to signal
 date | tee -a ${LOG}
-WORKER_PID=$(ps -o pid -C java | tail -n 1| awk '{ sub(/^[ \t]+/, ""); print }')
+WORKER_PID=$(ps x -o pid,cmd -C java |grep Executor \

Review Comment:
   Intresting, can you send me the ps aux for the container?



-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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