You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2022/03/02 18:06:00 UTC
[jira] [Updated] (SPARK-38392) Add spark- prefix to namespaces and -driver suffix to drivers during IT
[ https://issues.apache.org/jira/browse/SPARK-38392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-38392:
----------------------------------
Summary: Add spark- prefix to namespaces and -driver suffix to drivers during IT (was: [K8S] Improve the names used for K8S namespace and driver pod in integration tests)
> Add spark- prefix to namespaces and -driver suffix to drivers during IT
> -----------------------------------------------------------------------
>
> Key: SPARK-38392
> URL: https://issues.apache.org/jira/browse/SPARK-38392
> Project: Spark
> Issue Type: Improvement
> Components: Kubernetes, Tests
> Affects Versions: 3.3.0
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Minor
> Fix For: 3.3.0, 3.2.2
>
>
> 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