Skip to content

Commit 080ceb7

Browse files
witgopwendell
authored andcommitted
[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
1 parent 786808a commit 080ceb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/SparkEnv.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ object SparkEnv extends Logging {
395395
val sparkProperties = (conf.getAll ++ schedulerMode).sorted
396396

397397
// System properties that are not java classpaths
398-
val systemProperties = System.getProperties.iterator.toSeq
398+
val systemProperties = Utils.getSystemProperties.toSeq
399399
val otherProperties = systemProperties.filter { case (k, _) =>
400400
k != "java.class.path" && !k.startsWith("spark.")
401401
}.sorted

0 commit comments

Comments
 (0)