Github user andrewor14 commented on the pull request: https://github.com/apache/spark/pull/1538#issuecomment-50421431 I have reverted my changes for YARN for this PR and instead filed a JIRA at [SPARK-2718](https://issues.apache.org/jira/browse/SPARK-2718). As of the latest commit, this PR should change the behavior for only standalone mode. I have tested the latest changes on a standalone cluster with quoted configs, backslashes and spaces, for both normal spark configs and `spark.{executor/driver}.extraJavaOptions` on both deploy modes. This is ready to go from my side.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---