You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ben (Jira)" <ji...@apache.org> on 2022/01/31 18:13:00 UTC
[jira] [Created] (SPARK-38079) Not waiting for configmap before starting driver
Ben created SPARK-38079:
---------------------------
Summary: Not waiting for configmap before starting driver
Key: SPARK-38079
URL: https://issues.apache.org/jira/browse/SPARK-38079
Project: Spark
Issue Type: Bug
Components: Kubernetes
Affects Versions: 3.2.1, 3.2.0
Reporter: Ben
When you spark-submit to kubernetes in cluster-mode:
# Kubernetes creates the driver
# Kubernetes creates a configmap that the driver depends on
This is a race condition. If the configmap is not created quickly enough, then the driver will fail to start up properly.
See [this stackoverflow post|https://stackoverflow.com/a/58508313] for an alternate description of this problem.
To solve, I suggest that spark should wait for the configmap to exist before proceeding.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org