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

    https://github.com/apache/spark/pull/15505#discussion_r95434617
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskDescription.scala ---
    @@ -52,7 +55,36 @@ private[spark] class TaskDescription(
         val addedFiles: Map[String, Long],
         val addedJars: Map[String, Long],
         val properties: Properties,
    -    val serializedTask: ByteBuffer) {
    +    private var serializedTask_ : ByteBuffer,
    +    private var task_ : Task[_] = null) extends  Logging {
    --- End diff --
    
    FWIW I did it here: 
https://github.com/kayousterhout/spark-1/commit/fdab2998fd52b3bb9592d30bafb96f9de98af6c9
 a while ago in my testing of the other PR (although I wouldn't do it quite 
this way -- I'd pass in the serialized task as an argument to TaskDescription's 
encode() method, to avoid having to change the LaunchTask def., which requires 
Mesos changes)


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to