Skip to content

Commit

Permalink
Heartbeat and HeartbeatResponse are already Serializable as case classes
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Aug 1, 2014
1 parent 38dffde commit 132aec7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/scala/org/apache/spark/HeartbeatReceiver.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ private[spark] case class Heartbeat(
executorId: String,
taskMetrics: Array[(Long, TaskMetrics)], // taskId -> TaskMetrics
blockManagerId: BlockManagerId)
extends Serializable

private[spark] case class HeartbeatResponse(reregisterBlockManager: Boolean) extends Serializable
private[spark] case class HeartbeatResponse(reregisterBlockManager: Boolean)

/**
* Lives in the driver to receive heartbeats from executors..
Expand Down

0 comments on commit 132aec7

Please sign in to comment.