GitHub user WangTaoTheTonic opened a pull request:
https://github.com/apache/spark/pull/6496
[SPARK-7945][CORE]Do trim to values in properties file
https://issues.apache.org/jira/browse/SPARK-7945
Now applications submited by org.apache.spark.launcher.Main read properties
file without doing trim to values in it.
If user left a space after a value(say spark.driver.extraClassPath) then it
probably affect global functions(like some jar could not be included in the
classpath), so we should do it like Utils.getPropertiesFromFile.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WangTaoTheTonic/spark SPARK-7945
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6496.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6496
----
commit 2c053a1d8976f9505c8d0247e520303bcd1d7e25
Author: WangTaoTheTonic <[email protected]>
Date: 2015-05-29T09:45:02Z
Do trim to values in properties file
----
---
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]