[ https://issues.apache.org/jira/browse/SPARK-38392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-38392: ---------------------------------- Parent: SPARK-38396 Issue Type: Sub-task (was: Improvement) > 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: Sub-task > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org