Skip to content

Commit

Permalink
Fixed bug and adding unit test for removeBroadcast in BlockManagerSuite.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Apr 4, 2014
1 parent 104a89a commit 6222697
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ class ShuffleBlockManager(blockManager: BlockManager) extends Logging {
}

/** Remove all the blocks / files and metadata related to a particular shuffle. */
def removeShuffle(shuffleId: ShuffleId) {
removeShuffleBlocks(shuffleId)
def removeShuffle(shuffleId: ShuffleId): Boolean = {
shuffleStates.remove(shuffleId)
removeShuffleBlocks(shuffleId)
}

/** Remove all the blocks / files related to a particular shuffle. */
Expand Down

0 comments on commit 6222697

Please sign in to comment.