Prashant Sharma created SPARK-25295:
---------------------------------------

             Summary: Pod names conflicts in client mode, if previous 
submission was not a clean shutdown.
                 Key: SPARK-25295
                 URL: https://issues.apache.org/jira/browse/SPARK-25295
             Project: Spark
          Issue Type: Bug
          Components: Kubernetes
    Affects Versions: 2.4.0
            Reporter: Prashant Sharma


If the previous job was killed somehow, by disconnecting the client. It leaves 
behind the executor pods named spark-exec-#, which cause naming conflicts and 
failures for the next job submission.

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST 
at: https://9.30.110.150:6443/api/v1/namespaces/default/pods. Message: pods 
"spark-exec-4" already exists. Received status: Status(apiVersion=v1, code=409, 
details=StatusDetails(causes=[], group=null, kind=pods, name=spark-exec-4, 
retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, 
message=pods "spark-exec-4" already exists, 
metadata=ListMeta(resourceVersion=null, selfLink=null, 
additionalProperties={}), reason=AlreadyExists, status=Failure, 
additionalProperties={}).




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to