File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
streaming/src/main/scala/org/apache/spark/streaming/scheduler Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments