Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/5685#discussion_r29082998
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -1740,7 +1740,8 @@ class SparkContext(config: SparkConf) extends Logging
with ExecutorAllocationCli
* serializable
*/
private[spark] def clean[F <: AnyRef](f: F, checkSerializable: Boolean =
true): F = {
- ClosureCleaner.clean(f, checkSerializable)
+ val cleanTransitively =
conf.getBoolean("spark.closureCleaner.transitive", true)
--- End diff --
I'm not sure that it makes sense to flag this since (provided we add
scopes) then every user program will break if this is toggled. I think this
feature will need to be removed wholesale if there are issues.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]