Skip to content
Permalink
Browse files

Oops, fix compile error

  • Loading branch information
srowen committed Mar 14, 2017
1 parent 27234e1 commit 5da4bcffa1b39ea8c83fe63a09e68297be371784
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala
@@ -340,7 +340,7 @@ private[storage] class BlockInfoManager extends Logging {
val blocksWithReleasedLocks = mutable.ArrayBuffer[BlockId]()

val readLocks = synchronized {
readLocksByTask.remove(taskAttemptId).getOrElse(ImmutableMultiset.of())
readLocksByTask.remove(taskAttemptId).getOrElse(ImmutableMultiset.of[BlockId]())
}
val writeLocks = synchronized {
writeLocksByTask.remove(taskAttemptId).getOrElse(Seq.empty)

0 comments on commit 5da4bcf

Please sign in to comment.
You can’t perform that action at this time.