forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-12863][FLINK-12865] Remove concurrency from HeartbeatManager(S…
…ender)Impl This commit makes the HeartbeatManager implementations to use the RpcEndpoint's main thread executor. Furthermore, this commit changes the HeartbeatListener interface to directly return a payload instead of returning a future when HeartbeatListener#retrievePayload is called. Since the HeartbeatManager implementations now use the RpcEndpoint's main thread, we remove the splicing into the RpcEndpoint's main thread in the implementations of the HeartbeatListeners in the TaskExecutor, JobMaster and ResourceManager components. * Add test case for FLINK-12863 The test case JobMasterTest#testAllocatedSlotReportDoesNotContainStaleInformation verifies that the AllocatedSlotReport does not contain stale information. The test case itself is probabilistic and needs to be executed several times to produce a failure. * Add test case for FLINK-12865 The test case TaskExecutorTest#testSlotReportDoesNotContainStaleInformation verifies that the SlotReport does not contain stale information. The test case itself is probabilistic and needs to be executed several times to produce a failure. This closes apache#8783.
- Loading branch information
1 parent
b96f20e
commit a95dac5
Showing
17 changed files
with
954 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.