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

    https://github.com/apache/spark/pull/15505#discussion_r103554226
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskDescription.scala ---
    @@ -52,8 +55,26 @@ private[spark] class TaskDescription(
         val addedFiles: Map[String, Long],
         val addedJars: Map[String, Long],
         val properties: Properties,
    -    val serializedTask: ByteBuffer) {
    -
    +    // Task object corresponding to the TaskDescription. This is only 
defined on the master; on
    +    // the worker, the Task object is handled separately from the 
TaskDescription so that it can
    +    // deserialized after the TaskDescription is deserialized.
    +    @transient private val task: Task[_] = null) extends Logging {
    +
    +  /**
    +   * Serializes the task for this TaskDescription and returns the 
serialized task.
    +   *
    +   * This method should only be used on the master (to serialize a task to 
send to a worker).
    --- End diff --
    
    master -> driver
    worker -> executor


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