zheniantoushipashi commented on code in PR #37802:
URL: https://github.com/apache/spark/pull/37802#discussion_r964420415
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/VolcanoFeatureStep.scala:
##########
@@ -54,11 +56,33 @@ private[spark] class VolcanoFeatureStep extends
KubernetesDriverCustomFeatureCon
metadata.setName(podGroupName)
metadata.setNamespace(namespace)
pg.setMetadata(metadata)
-
var spec = pg.getSpec
if (spec == null) spec = new PodGroupSpec
+ val queue = kubernetesConf.getOption(POD_GROUP_SPEC_QUEUE)
Review Comment:
I can refactor this, if my opinion is accepted,
--
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]