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

    https://github.com/apache/spark/pull/19013#discussion_r134807428
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -202,7 +209,7 @@ object SparkSubmit extends CommandLineUtils {
               printWarning(s"Master endpoint ${args.master} was not a REST 
server. " +
                 "Falling back to legacy submission gateway instead.")
               args.useRest = false
    -          submit(args)
    +          submit(args, false)
    --- End diff --
    
    This makes an assumption that the class in the original submit call 
initialized logging; it should be ok, since this case is only hit in certain 
cases when submitting to standalone / mesos in cluster mode, and if you miss a 
few log messages there it's not a big deal.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to