Github user nishkamravi2 commented on the pull request:

    https://github.com/apache/spark/pull/492#issuecomment-41882773
  
    --driver-java-options would only work through the spark-submit script. If 
the developer invokes yarn.deploy.Client directly (as is common practice 
thusfar), they would simply pass java options (using -D) and the following code 
would allow spark options to be accepted:
    
    for ((k, v) <- sys.props.filterKeys(_.startsWith("spark")))
    { JAVA_OPTS += "-D" + k + "=" + "\\\"" + v + "\\\"" }
    
    This too was checked in by Patrick fairly recently (last Monday I think). 
    
    I would prefer creation of an explicit flag (--spark-java-options or 
--driver-java-options) for yarn.deploy.Client in order to be consistent with 
the rest of Spark UI, buthen Patrick has already checked in the code above and 
I guess he intends on keeping it.


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