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

    https://github.com/apache/spark/pull/11229#discussion_r53369752
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -245,18 +249,20 @@ object SparkSubmit {
         // from each other if only one is specified, or exit early if they are 
at odds.
         if (clusterManager == YARN) {
           if (args.master == "yarn-standalone") {
    -        printWarning("\"yarn-standalone\" is deprecated. Use 
\"yarn-cluster\" instead.")
    +        printWarning("\"yarn-standalone\" is deprecated. Use \"yarn\" " +
    --- End diff --
    
    So, if someone says "--master yarn-standalone", it seems like they'll see 3 
different warnings in different places, right?
    - one in L231 above
    - one here
    - one in the driver's output (SparkContext also logs something)
    
    This particular one seems a little too redundant now, probably should be 
removed.


---
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