Repository: spark
Updated Branches:
  refs/heads/branch-1.1 d21347dbb -> 3442b7bb6


[SPARK-4952][Core]Handle ConcurrentModificationExceptions in 
SparkEnv.environmentDetails

Author: GuoQiang Li <[email protected]>

Closes #3788 from witgo/SPARK-4952 and squashes the following commits:

d903529 [GuoQiang Li] Handle ConcurrentModificationExceptions in 
SparkEnv.environmentDetails

(cherry picked from commit 080ceb771a1e6b9f844cfd4f1baa01133c106888)
Signed-off-by: Patrick Wendell <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3442b7bb
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3442b7bb
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3442b7bb

Branch: refs/heads/branch-1.1
Commit: 3442b7bb69c662c69ad2ef105abb8d8d8db34599
Parents: d21347d
Author: GuoQiang Li <[email protected]>
Authored: Fri Dec 26 23:31:29 2014 -0800
Committer: Patrick Wendell <[email protected]>
Committed: Fri Dec 26 23:32:00 2014 -0800

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/SparkEnv.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3442b7bb/core/src/main/scala/org/apache/spark/SparkEnv.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/SparkEnv.scala 
b/core/src/main/scala/org/apache/spark/SparkEnv.scala
index 7271656..19ba6e9 100644
--- a/core/src/main/scala/org/apache/spark/SparkEnv.scala
+++ b/core/src/main/scala/org/apache/spark/SparkEnv.scala
@@ -318,7 +318,7 @@ object SparkEnv extends Logging {
     val sparkProperties = (conf.getAll ++ schedulerMode).sorted
 
     // System properties that are not java classpaths
-    val systemProperties = System.getProperties.iterator.toSeq
+    val systemProperties = Utils.getSystemProperties.toSeq
     val otherProperties = systemProperties.filter { case (k, _) =>
       k != "java.class.path" && !k.startsWith("spark.")
     }.sorted


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to