Skip to content

Commit

Permalink
[SPARK-6980] RpcTimeout class extends Serializable, was causing error…
Browse files Browse the repository at this point in the history
… in MasterSuite
  • Loading branch information
BryanCutler committed Jul 2, 2015
1 parent 7bb70f1 commit 06afa53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/scala/org/apache/spark/rpc/RpcEnv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ private[rpc] class RpcTimeoutException(message: String, cause: TimeoutException)
* @param duration timeout duration in seconds
* @param timeoutProp the configuration property that controls this timeout
*/
private[spark] class RpcTimeout(val duration: FiniteDuration, val timeoutProp: String) {
private[spark] class RpcTimeout(val duration: FiniteDuration, val timeoutProp: String)
extends Serializable {

/** Amends the standard message of TimeoutException to include the description */
private def createRpcTimeoutException(te: TimeoutException): RpcTimeoutException = {
Expand Down

0 comments on commit 06afa53

Please sign in to comment.