You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/12/07 03:08:00 UTC

[jira] [Assigned] (SPARK-41419) [K8S] Decrement PVC_COUNTER when the pod deletion happens

     [ https://issues.apache.org/jira/browse/SPARK-41419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-41419:
------------------------------------

    Assignee:     (was: Apache Spark)

> [K8S] Decrement PVC_COUNTER when the pod deletion happens 
> ----------------------------------------------------------
>
>                 Key: SPARK-41419
>                 URL: https://issues.apache.org/jira/browse/SPARK-41419
>             Project: Spark
>          Issue Type: Task
>          Components: Kubernetes
>    Affects Versions: 3.4.0
>            Reporter: Ted Yu
>            Priority: Major
>
> commit cc55de3 introduced PVC_COUNTER to track outstanding number of PVCs.
> PVC_COUNTER should only be decremented when the pod deletion happens (in response to error).
> If the PVC isn't created successfully (where PVC_COUNTER isn't incremented) (possibly due to execution not reaching resource(pvc).create() call), we shouldn't decrement the counter.
> variable `success` tracks the progress of PVC creation:
> value 0 means PVC is not created.
> value 1 means PVC has been created.
> value 2 means PVC has been created but due to subsequent error, the pod is deleted.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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