Skip to content

Commit

Permalink
Handle ConcurrentModificationExceptions in SparkEnv.environmentDetails
Browse files Browse the repository at this point in the history
  • Loading branch information
witgo committed Dec 24, 2014
1 parent 7e2deb7 commit d903529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/SparkEnv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,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
Expand Down

0 comments on commit d903529

Please sign in to comment.