This is an automated email from the ASF dual-hosted git repository.
roman pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
from 18c73f1488b [docs][hotfix] correct label in config configuration
new d718342ad03 [hotfix][tests] Make LocalRecoveryITCase fail when
allocations don't match
new 676e8e5528f [FLINK-21450][runtime] Add previous ExecutionGraph to
WaitingForResources AdaptiveScheduler state
new 416cb7aaa02 [FLINK-21450][runtime] Restructure types passed between
AdaptiveScheduler and SlotAssigner
new e38a6709b57 [FLINK-21450][runtime] Support LocalRecovery by
AdaptiveScheduler
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../jobgraph/jsonplan/JsonPlanGenerator.java | 21 +-
.../scheduler/adaptive/AdaptiveScheduler.java | 50 ++---
.../flink/runtime/scheduler/adaptive/Created.java | 2 +-
.../scheduler/adaptive/CreatingExecutionGraph.java | 31 ++-
.../scheduler/adaptive/JobGraphJobInformation.java | 5 +
.../scheduler/adaptive/JobSchedulingPlan.java | 105 ++++++++++
.../runtime/scheduler/adaptive/Restarting.java | 5 +-
.../scheduler/adaptive/StateTransitions.java | 6 +-
.../scheduler/adaptive/WaitingForResources.java | 28 ++-
.../adaptive/allocator/DefaultSlotAssigner.java | 77 ++++++++
.../allocator/JobAllocationsInformation.java | 112 +++++++++++
.../adaptive/allocator/JobInformation.java | 2 +
.../adaptive/allocator/SlotAllocator.java | 18 +-
.../{VertexParallelism.java => SlotAssigner.java} | 23 ++-
.../allocator/SlotSharingSlotAllocator.java | 123 +++++-------
.../allocator/StateLocalitySlotAssigner.java | 201 +++++++++++++++++++
.../adaptive/allocator/VertexParallelism.java | 43 +++-
.../VertexParallelismWithSlotSharing.java | 52 -----
.../scheduler/adaptive/AdaptiveSchedulerTest.java | 3 +-
.../runtime/scheduler/adaptive/CreatedTest.java | 3 +-
.../adaptive/CreatingExecutionGraphTest.java | 52 +++--
.../runtime/scheduler/adaptive/RestartingTest.java | 2 +-
.../adaptive/WaitingForResourcesTest.java | 9 +-
.../allocator/SlotSharingSlotAllocatorTest.java | 219 +++++++++++----------
.../allocator/StateLocalitySlotAssignerTest.java | 166 ++++++++++++++++
.../adaptive/allocator/TestJobInformation.java | 59 ++++++
.../scheduler/adaptive/allocator/TestSlotInfo.java | 10 +-
.../adaptive/allocator/TestVertexInformation.java} | 49 +++--
.../adaptive/allocator/TestingSlotAllocator.java | 49 ++---
.../flink/test/recovery/LocalRecoveryITCase.java | 28 ++-
30 files changed, 1135 insertions(+), 418 deletions(-)
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/JobSchedulingPlan.java
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/allocator/DefaultSlotAssigner.java
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/allocator/JobAllocationsInformation.java
copy
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/allocator/{VertexParallelism.java
=> SlotAssigner.java} (62%)
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/allocator/StateLocalitySlotAssigner.java
delete mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/allocator/VertexParallelismWithSlotSharing.java
create mode 100644
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/allocator/StateLocalitySlotAssignerTest.java
create mode 100644
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/allocator/TestJobInformation.java
copy
flink-runtime/src/{main/java/org/apache/flink/runtime/scheduler/adaptive/allocator/JobInformation.java
=>
test/java/org/apache/flink/runtime/scheduler/adaptive/allocator/TestVertexInformation.java}
(53%)