Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ class MapOutputTrackerSuite extends SparkFunSuite {
val masterTracker = newTrackerMaster(newConf)
val rpcEnv = createRpcEnv("spark")
val masterEndpoint = new MapOutputTrackerMasterEndpoint(rpcEnv, masterTracker, newConf)
rpcEnv.setupEndpoint(MapOutputTracker.ENDPOINT_NAME, masterEndpoint)
masterTracker.trackerEndpoint =
rpcEnv.setupEndpoint(MapOutputTracker.ENDPOINT_NAME, masterEndpoint)

// Message size should be ~123B, and no exception should be thrown
masterTracker.registerShuffle(10, 1)
Expand All @@ -191,7 +192,7 @@ class MapOutputTrackerSuite extends SparkFunSuite {
verify(rpcCallContext, timeout(30000)).reply(any())
assert(0 == masterTracker.getNumCachedSerializedBroadcast)

// masterTracker.stop() // this throws an exception
masterTracker.stop()
rpcEnv.shutdown()
}

Expand Down