Revert "[KYUUBI #3385] Set spark.kubernetes.executor.podNamePrefix if missing"

This reverts commit c454bfdcbe.
This commit is contained in:
Cheng Pan 2022-11-02 04:26:43 +00:00
parent f21ad832a3
commit 223e54e9b3

View File

@ -168,8 +168,6 @@ object SparkSQLEngine extends Logging {
if (Utils.isOnK8s) {
kyuubiConf.setIfMissing(FRONTEND_CONNECTION_URL_USE_HOSTNAME, false)
val podNamePrefix = s"kyuubi-${user}-${Instant.now().toEpochMilli}"
_sparkConf.setIfMissing("spark.kubernetes.executor.podNamePrefix", podNamePrefix)
}
// Set web ui port 0 to avoid port conflicts during non-k8s cluster mode