GitHub user beyond1920 opened a pull request:
https://github.com/apache/flink/pull/2410
[FLINK-4449] [cluster management] Heartbeat Manager between ResourceManager
and TaskExecutor
The PR is focus on Heartbeat Manager between ResourceManager and
TaskExecutor.
HeartbeatManager is responsible for heartbeat between resourceManager to
TaskExecutor
1. Register taskExecutors
register heartbeat targets. If the heartbeat response for these targets is
not reported in time, mark target failed and notify resourceManager
2. trigger heartbeat
trigger heartbeat from resourceManager to TaskExecutor periodically
taskExecutor report slot allocation in the heartbeat response
ResourceManager sync self slot allocation with the heartbeat response
More details can be found at
https://issues.apache.org/jira/browse/FLINK-4449.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alibaba/flink jira-4449
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2410.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2410
----
commit 937c57c93894d271a614131cc77f0a8a7e33ab37
Author: beyond1920 <[email protected]>
Date: 2016-08-15T08:05:45Z
from stephon's uncommitted pull request
modified:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/ResourceManager.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/TaskExecutorRegistrationResponse.java
modified:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/ResourceManager.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/TaskExecutorRegistrationResponse.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/taskexecutor/SlotReport.java
commit 073b65c35fed4e64faedaa653b7b01b532531990
Author: beyond1920 <[email protected]>
Date: 2016-08-15T08:34:34Z
request slot from slotManager and offer slot to slotManager
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/types/AllocationJobID.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/types/ResourceProfile.java
modified:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/ResourceManager.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/SlotManager.java
modified:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/SlotRequest.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/StandaloneSlotManager.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/resourcemanager/YarnSlotManager.java
new file:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/taskexecutor/RequestSlotResponse.java
modified:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/taskexecutor/TaskExecutorGateway.java
commit 5e50d0844f9b04f2bf89a5fc47cd0248d624ff6f
Author: beyond1920 <[email protected]>
Date: 2016-08-15T10:32:03Z
hearbeat response from tm to rm
commit ecf14e42a4626725f6a7aba28af4b2d0d83c2f18
Author: beyond1920 <[email protected]>
Date: 2016-08-16T08:22:20Z
update the heartbeat api and response message
commit b815134933978620420874642df0e629ce35f8e6
Author: beyond1920 <[email protected]>
Date: 2016-08-17T02:13:40Z
Merge branch 'flip-6' of https://github.com/apache/flink into jira-4345
commit b55f7843af50e2a4ad85dbfdbb1fedc5985f1ff3
Author: beyond1920 <[email protected]>
Date: 2016-08-17T02:29:39Z
add heartbeat manager
commit c838912c36381ee13c4c6871e6ea76092ee6e4fa
Author: beyond1920 <[email protected]>
Date: 2016-08-17T08:45:43Z
update resourceManager and add LeaderContender subclass
commit 196ac2bb5943b58bb12aceb214fa4168aafed29f
Author: beyond1920 <[email protected]>
Date: 2016-08-19T09:14:45Z
add test to ResourceManagerToTaskExecutorHeartbeatScheduler
commit ea33b8d703a9d0ac634a9b072b892b94368d7bfe
Author: beyond1920 <[email protected]>
Date: 2016-08-23T11:54:32Z
heartbeat communication
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---