gaborgsomogyi commented on a change in pull request #23716: [SPARK-26734]
[STREAMING] Fix StackOverflowError with large block queue
URL: https://github.com/apache/spark/pull/23716#discussion_r253767851
##########
File path:
streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockTrackerSuite.scala
##########
@@ -96,6 +96,25 @@ class ReceivedBlockTrackerSuite
receivedBlockTracker.getUnallocatedBlocks(streamId) shouldEqual blockInfos
}
+ test("block addition, and block to batch allocation with many blocks") {
+ val receivedBlockTracker = createTracker()
+ receivedBlockTracker.isWriteAheadLogEnabled should be (true)
Review comment:
Would be good to close the tracker. I know not all tests does this (which is
a bug) but it would be good to make it clean here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]