Skip to content

Commit

Permalink
fix a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed Mar 2, 2019
1 parent 424a3c8 commit 53c6ed8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -123,7 +123,7 @@ private[spark] class TaskSetManager(
// state until all tasks have finished running; we keep TaskSetManagers that are in the zombie
// state in order to continue to track and account for the running tasks.
// TODO: We should kill any running task attempts when the task set manager becomes a zombie.
@transient private[scheduler] var isZombie = false
@volatile private[scheduler] var isZombie = false

// Whether the taskSet run tasks from a barrier stage. Spark must launch all the tasks at the
// same time for a barrier stage.
Expand Down

0 comments on commit 53c6ed8

Please sign in to comment.