apache-spark-on-k8s / spark

Apache Spark enhanced with native Kubernetes scheduler back-end: NOTE this repository is being ARCHIVED as all new development for the kubernetes scheduler back-end is now on https://github.com/apache/spark/
https://spark.apache.org/
Apache License 2.0
612 stars 118 forks source link

Debug log driver/executor podspecs at creation time #466

Open ash211 opened 7 years ago

ash211 commented 7 years ago

I'd like to see what the podspec is at this point in creation time for debugging purposes.

https://github.com/apache-spark-on-k8s/spark/blob/6177bf8c43b77ab5072b4cf5ad4f52178dbf6a29/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/kubernetes/submit/Client.scala#L122

https://github.com/apache-spark-on-k8s/spark/blob/6177bf8c43b77ab5072b4cf5ad4f52178dbf6a29/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala#L604