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 2019/03/01 04:41:00 UTC
[jira] [Resolved] (SPARK-26420) [kubernetes] driver service id is
not random
[ https://issues.apache.org/jira/browse/SPARK-26420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-26420.
-----------------------------------
Resolution: Fixed
Assignee: Marcelo Vanzin
Fix Version/s: 3.0.0
This is resolved via https://github.com/apache/spark/pull/23805 .
> [kubernetes] driver service id is not random
> --------------------------------------------
>
> Key: SPARK-26420
> URL: https://issues.apache.org/jira/browse/SPARK-26420
> Project: Spark
> Issue Type: Improvement
> Components: Kubernetes
> Affects Versions: 2.3.2
> Environment: Spark 2.3.2
> Kubernetes 1.10.11
> Reporter: Viktor Bogdanov
> Assignee: Marcelo Vanzin
> Priority: Minor
> Fix For: 3.0.0
>
>
> I faced with a very rare situation
> {code:java}
> 2018-12-20 04:34:46 WARN DriverServiceBootstrapStep:66 - Driver's hostname would preferably be one-job-41944f13918f3d779f7dc8cfea489791-driver-svc, but this is too long (must be <= 63 characters). Falling back to use spark-1545280486832-driver-svc as the driver service's name.
> {code}
> {code:java}
> 2018-12-20 04:34:46 WARN DriverServiceBootstrapStep:66 - Driver's hostname would preferably be completely-different-job-017608e0359a3d7389667280f45ec562-driver-svc, but this is too long (must be <= 63 characters). Falling back to use spark-1545280486832-driver-svc as the driver service's name.
> {code}
> Two different spark-submits chouse the same name for driver service
> This happened because service id is chosen by clock.getTimeMillis() function
> [code line|https://github.com/apache/spark/blob/98c0ca78610ccf62784081353584717c62285485/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/DriverServiceFeatureStep.scala#L45]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org