Github user liyinan926 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19717#discussion_r154537698
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala ---
    @@ -304,7 +313,9 @@ private[deploy] class SparkSubmitArguments(args: 
Seq[String], env: Map[String, S
       }
     
       private def validateStatusRequestArguments(): Unit = {
    -    if (!master.startsWith("spark://") && !master.startsWith("mesos://")) {
    +    if (!master.startsWith("spark://")
    +      && !master.startsWith("mesos://")
    +      && !master.startsWith("k8s://")) {
           SparkSubmit.printErrorAndExit(
             "Requesting submission statuses is only supported in standalone or 
Mesos mode!")
    --- End diff --
    
    Done.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to