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

    https://github.com/apache/spark/pull/299#discussion_r11567219
  
    --- Diff: 
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala ---
    @@ -340,8 +341,22 @@ trait ClientBase extends Logging {
           JAVA_OPTS += " -XX:CMSIncrementalDutyCycle=10 "
         }
     
    -    if (env.isDefinedAt("SPARK_JAVA_OPTS")) {
    -      JAVA_OPTS += " " + env("SPARK_JAVA_OPTS")
    +
    --- End diff --
    
    Hm actually I'm not so sure. The existing behavior is really confusing 
because it means that if SPARK_JAVA_OPTS is set on the executors and the 
driver... the behavior is basically undefined. It might be worth it to bite the 
bullet here rather than continue to support this unpredictable behavior for a 
long time. 


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