Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/19717#discussion_r154502635
--- Diff:
core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala ---
@@ -294,7 +301,9 @@ private[deploy] class SparkSubmitArguments(args:
Seq[String], env: Map[String, S
}
private def validateKillArguments(): Unit = {
- if (!master.startsWith("spark://") && !master.startsWith("mesos://")) {
+ if (!master.startsWith("spark://")
+ && !master.startsWith("mesos://")
+ && !master.startsWith("k8s://")) {
SparkSubmit.printErrorAndExit(
"Killing submissions is only supported in standalone or Mesos
mode!")
--- End diff --
add `Kubernetes` to the msg
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]