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/03/02 13:29:00 UTC

[jira] [Assigned] (SPARK-38392) [K8S] Improve the names used for K8S namespace and driver pod in integration tests

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

Apache Spark reassigned SPARK-38392:
------------------------------------

    Assignee:     (was: Apache Spark)

> [K8S] Improve the names used for K8S namespace and driver pod in integration tests
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-38392
>                 URL: https://issues.apache.org/jira/browse/SPARK-38392
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes
>    Affects Versions: 3.3.0
>            Reporter: Martin Tzvetanov Grigorov
>            Priority: Minor
>
> Currently when there is no configured K8S namespace by the user the Kubernetes IT tests use UUID.toString() without the '-'es:
> {code:java}
> val namespace = namespaceOption.getOrElse(UUID.randomUUID().toString.replaceAll("-", "")) {code}
>  
> Proposal: prefix the temporary namespace with "spark-" or "spark-test-".
>  
> The name of the driver pod is:
> {code:java}
> driverPodName = "spark-test-app-" + UUID.randomUUID().toString.replaceAll("-", "") {code}
> i.e. it does not mention that it is the driver.
> For non-test it uses names like `spark-on-k8s-app-f6bfc57f4a938abe-driver`, i.e. the value of "–name" config + hash + "-driver".
> In both IT tests and non-test the executor pods always mention "-exec-", so they are clear.
>  
> Proposal: unify non-test and IT test name and use "spark-test-app-"+ hash + "-driver" for the IT tests.



--
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