Skip to content

Commit

Permalink
Converted bang to ask to avoid scary warning when a block is removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed May 9, 2014
1 parent 191279c commit ed4ef15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class BlockManagerMasterActor(val isLocal: Boolean, conf: SparkConf, listenerBus
// Remove the block from the slave's BlockManager.
// Doesn't actually wait for a confirmation and the message might get lost.
// If message loss becomes frequent, we should add retry logic here.
blockManager.get.slaveActor ! RemoveBlock(blockId)
blockManager.get.slaveActor.ask(RemoveBlock(blockId))(akkaTimeout)
}
}
}
Expand Down

0 comments on commit ed4ef15

Please sign in to comment.