Skip to content
Snippets Groups Projects
Commit 39c75f30 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #757 from BlackNiuza/result_task_generation

Bug fix: SPARK-837
parents b2b86c25 9a815de4
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,7 @@ private[spark] class ResultTask[T, U](
out.write(bytes)
out.writeInt(partition)
out.writeInt(outputId)
out.writeLong(generation)
out.writeObject(split)
}
}
......@@ -132,6 +133,7 @@ private[spark] class ResultTask[T, U](
func = func_.asInstanceOf[(TaskContext, Iterator[T]) => U]
partition = in.readInt()
val outputId = in.readInt()
generation = in.readLong()
split = in.readObject().asInstanceOf[Partition]
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment