martin-g commented on a change in pull request #35786:
URL: https://github.com/apache/spark/pull/35786#discussion_r826612949
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/VolcanoFeatureStep.scala
##########
@@ -40,6 +41,10 @@ private[spark] class VolcanoFeatureStep extends
KubernetesDriverCustomFeatureCon
}
override def getAdditionalPreKubernetesResources(): Seq[HasMetadata] = {
+ if (kubernetesConf.isInstanceOf[KubernetesExecutorConf]) {
+ logWarning("VolcanoFeatureStep#getAdditionalPreKubernetesResources() is
not supported " +
+ "for executor.")
Review comment:
this should `return Seq.empty;`, no ?
--
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]