Skip to content

Commit

Permalink
applying review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
attilapiros committed Jan 19, 2018
1 parent 41dd7bb commit cf6e0c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private[spark] class AppStatusListener(
}

override def onExecutorBlacklistedForStage(
event: SparkListenerExecutorBlacklistedForStage): Unit = {
event: SparkListenerExecutorBlacklistedForStage): Unit = {
updateBlackListStatusForStage(event.executorId, event.stageId, event.stageAttemptId)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ class TaskSetBlacklistSuite extends SparkFunSuite with BeforeAndAfterEach with M
assert(taskSetBlacklist.isExecutorBlacklistedForTaskSet("exec1"))

assert(!taskSetBlacklist.isExecutorBlacklistedForTaskSet("exec2"))
verify(listenerBusMock, never()).post(
SparkListenerNodeBlacklistedForStage(0, "hostA", 2, 0, attemptId))

assert(!taskSetBlacklist.isNodeBlacklistedForTaskSet("hostA"))
verify(listenerBusMock, never())
Expand Down

0 comments on commit cf6e0c9

Please sign in to comment.