Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/126#discussion_r11374381
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -233,6 +233,13 @@ class SparkContext(
@volatile private[spark] var dagScheduler = new DAGScheduler(this)
dagScheduler.start()
+ private[spark] val cleaner: Option[ContextCleaner] =
+ if (conf.getBoolean("spark.cleaner.referenceTracking", true)) {
+ Some(new ContextCleaner(this))
+ } else None
--- End diff --
I think style guide says this `None` needs its own line w/ brackets.
---
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.
---