Skip to content

Commit b963178

Browse files
committed
More logTrace detail in lockNewBlockForWriting
1 parent 0628a33 commit b963178

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,11 @@ private[storage] class BlockInfoManager extends Logging {
323323
infos(blockId) = newBlockInfo
324324
newBlockInfo.writerTask = currentTaskAttemptId
325325
writeLocksByTask.addBinding(currentTaskAttemptId, blockId)
326+
logTrace(s"Task $currentTaskAttemptId successfully locked new block $blockId")
326327
true
327328
} else {
329+
logTrace(s"Task $currentTaskAttemptId did not create and lock block $blockId " +
330+
s"because that block already exists")
328331
false
329332
}
330333
}

0 commit comments

Comments
 (0)