Skip to content

Commit f66d277

Browse files
committed
Fix line lengths.
1 parent cda62ee commit f66d277

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

streaming/src/main/scala/org/apache/spark/streaming/scheduler/ReceivedBlockTracker.scala

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,17 @@ class ReceivedBlockTracker(
149149
// Insert the recovered block information
150150
def insertAddedBlock(receivedBlockInfo: ReceivedBlockInfo) {
151151
logTrace(s"Recovery: Inserting added block $receivedBlockInfo")
152-
//println(s"Recovery: Inserting added block $receivedBlockInfo")
152+
// println(s"Recovery: Inserting added block $receivedBlockInfo")
153153
getReceivedBlockQueue(receivedBlockInfo.streamId) += receivedBlockInfo
154154
}
155155

156156
// Insert the recovered block-to-batch allocations and clear the queue of received blocks
157157
// (when the blocks were originally allocated to the batch, the queue must have been cleared).
158158
def insertAllocatedBatch(time: Time, allocatedBlocks: AllocatedBlocks) {
159-
logTrace(s"Recovery: Inserting allocated batch for time $time to ${allocatedBlocks.streamIdToAllocatedBlocks}")
160-
//println(s"Recovery: Inserting allocated batch for time $time to ${allocatedBlocks.streamIdToAllocatedBlocks}")
159+
logTrace(s"Recovery: Inserting allocated batch for time $time to " +
160+
s"${allocatedBlocks.streamIdToAllocatedBlocks}")
161+
// println(s"Recovery: Inserting allocated batch for time $time to " +
162+
// s"${allocatedBlocks.streamIdToAllocatedBlocks}")
161163
streamIdToUnallocatedBlockInfo.values.foreach { _.clear() }
162164
timeToAllocatedBlockInfo.put(time, allocatedBlocks)
163165
}

0 commit comments

Comments
 (0)