Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5288#discussion_r27460121
  
    --- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala 
---
    @@ -493,7 +495,8 @@ class DAGScheduler(
         val func2 = func.asInstanceOf[(TaskContext, Iterator[_]) => _]
         val waiter = new JobWaiter(this, jobId, partitions.size, resultHandler)
         eventProcessLoop.post(JobSubmitted(
    -      jobId, rdd, func2, partitions.toArray, allowLocal, callSite, waiter, 
properties))
    +      jobId, rdd, func2, partitions.toArray, allowLocal, callSite, waiter,
    +      SerializationUtils.clone(properties)))
    --- End diff --
    
    We need to use `SerializationUtils.clone()` in order to perform a 
deep-clone which also captures properties that were inherited from parents; see 
5a5526164bdf9ecf1306d4570e816eb4df5cfd2b for more discussion of this issue.


---
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]

Reply via email to