Skip to content

Commit 23d64cf

Browse files
witgopwendell
authored andcommitted
[SPARK-4952][Core]Handle ConcurrentModificationExceptions in SparkEnv.environmentDetails
Author: GuoQiang Li <witgo@qq.com> Closes #3788 from witgo/SPARK-4952 and squashes the following commits: d903529 [GuoQiang Li] Handle ConcurrentModificationExceptions in SparkEnv.environmentDetails (cherry picked from commit 080ceb7) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
1 parent 3c4acac commit 23d64cf

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
@@ -399,7 +399,7 @@ object SparkEnv extends Logging {
399399
val sparkProperties = (conf.getAll ++ schedulerMode).sorted
400400

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

0 commit comments

Comments
 (0)