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

    https://github.com/apache/spark/pull/578#discussion_r12036153
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -124,6 +124,8 @@ object SparkSubmit {
           }
         } else if (clusterManager == YARN) {
           childMainClass = "org.apache.spark.deploy.yarn.Client"
    +      // Special flag to avoid deprecation warnings at the client
    +      sysProps("SPARK_SUBMIT_YARN") = "true"
    --- End diff --
    
    @sryza if you feel really strongly I could make it more general. I'm a bit 
scarred from some cases where options like this have taken on lives of their 
own :)


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

Reply via email to