dongjoon-hyun commented on code in PR #36728:
URL: https://github.com/apache/spark/pull/36728#discussion_r894137234
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesExecutorBackend.scala:
##########
@@ -66,7 +66,8 @@ private[spark] object KubernetesExecutorBackend extends
Logging {
SparkHadoopUtil.get.runAsSparkUser { () =>
// Debug code
- Utils.checkHost(arguments.hostname)
+ assert(arguments.hostname != null &&
+ (arguments.hostname.indexOf(':') == -1 ||
arguments.hostname.split(":").length > 2))
Review Comment:
The original code of `Utils.checkHost` is made in YARN age.
And, that is a valid check in YARN environment's URL.
Please see the link in the PR description.
<img width="460" alt="Screen Shot 2022-06-09 at 9 11 24 PM"
src="https://user-images.githubusercontent.com/9700541/172988832-03ccea4e-0f12-4093-a59c-045eec86292c.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]