Github user kayousterhout commented on a diff in the pull request: https://github.com/apache/spark/pull/15505#discussion_r89872712 --- Diff: core/src/main/scala/org/apache/spark/scheduler/TaskDescription.scala --- @@ -17,27 +17,179 @@ package org.apache.spark.scheduler +import java.io._ import java.nio.ByteBuffer +import java.util.Properties -import org.apache.spark.util.SerializableBuffer +import scala.collection.JavaConverters._ +import scala.collection.mutable + +import org.apache.spark.serializer.SerializerInstance +import org.apache.spark.util.{ByteBufferInputStream, ByteBufferOutputStream} /** * Description of a task that gets passed onto executors to be executed, usually created by * [[TaskSetManager.resourceOffer]]. */ -private[spark] class TaskDescription( +private[spark] class TaskDescription private( val taskId: Long, val attemptNumber: Int, val executorId: String, val name: String, - val index: Int, // Index within this task's TaskSet - _serializedTask: ByteBuffer) - extends Serializable { + val index: Int, + val taskFiles: mutable.Map[String, Long], + val taskJars: mutable.Map[String, Long], + private var task_ : Task[_], --- End diff -- fix indentation of this and the following two lines (should be indented two more spaces)
--- 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