apache/spark — pull request #2971 by luluorta (2014-10-28 05:50:08+00:00)
Title: [SPARK-4109] Correctly deserialize Task.stageId

The two subclasses of Task, ShuffleMapTask and ResultTask, do not correctly deserialize stageId. Therefore, the accessing of TaskContext.stageId always returns zero value to the user.