Github user tigerquoll commented on a diff in the pull request:
https://github.com/apache/spark/pull/2516#discussion_r18008765
--- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
@@ -48,8 +50,10 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable
with Logging {
private[spark] val settings = new HashMap[String, String]()
if (loadDefaults) {
+ val sparkConfigs =
SparkSubmitArguments.mergeSparkProperties(Vector.empty)
// Load any spark.* system properties
- for ((k, v) <- System.getProperties.asScala if k.startsWith("spark."))
{
+ for ((k, v) <- sparkConfigs
--- End diff --
I've reverted changes in SparkConf to its original (pre PR) state until
approval in principal is given for the concepts behind the PR in an attempt to
make the PR more understandable.
---
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]