This is an automated email from the ASF dual-hosted git repository.
zhuzh pushed a change to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git.
from 94f269d Revert "[FLINK-24859][doc][formats] Make new formats name
coherent"
new a1f7a5c [hotfix][runtime] Refactor testing methods out from
SlotProfile into SlotProfileTestingUtils
new 3eae179 [hotfix][runtime] Rename `previousExecutionGraphAllocations`
in SlotProfile to `reservedAllocations` to avoid confusion
new f915f09 [hotfix][tests] Factor
PerJobMiniClusterFactoryTest#MyCancellableInvokable out to be a standalone test
class in flink-runtime
new 63cf221 [FLINK-19142][runtime] Use
LocationPreferenceSlotSelectionStrategy for batch jobs even if local recovery
is enabled
new 347becb [FLINK-19142][runtime] Fix slot hijacking after task failover
The 5 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:
.../program/PerJobMiniClusterFactoryTest.java | 36 +---
.../clusterframework/types/SlotProfile.java | 62 ++-----
.../PreviousAllocationSlotSelectionStrategy.java | 3 +-
.../flink/runtime/scheduler/DefaultScheduler.java | 49 ++++++
.../scheduler/DefaultSchedulerComponents.java | 31 +++-
.../scheduler/ExecutionSlotAllocationContext.java | 11 ++
.../MergingSharedSlotProfileRetrieverFactory.java | 31 ++--
.../SlotSharingExecutionSlotAllocatorFactory.java | 4 +-
...ocationPreferenceSlotSelectionStrategyTest.java | 15 +-
.../types/SlotProfileTestingUtils.java | 61 +++++++
...lSlotProviderImplWithSpreadOutStrategyTest.java | 4 +-
.../slotpool/PhysicalSlotProviderResource.java | 6 +-
.../DefaultSchedulerComponentsFactoryTest.java | 30 ++++
.../MergingSharedSlotProfileRetrieverTest.java | 41 ++++-
.../SlotSharingExecutionSlotAllocatorTest.java | 3 +-
.../TestExecutionSlotAllocatorFactory.java | 7 +
.../WaitingCancelableInvokable.java} | 40 ++---
.../DefaultSchedulerLocalRecoveryITCase.java | 181 +++++++++++++++++++++
18 files changed, 464 insertions(+), 151 deletions(-)
create mode 100755
flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/types/SlotProfileTestingUtils.java
copy
flink-runtime/src/test/java/org/apache/flink/runtime/{testtasks/FailingBlockingInvokable.java
=> testutils/WaitingCancelableInvokable.java} (58%)
create mode 100644
flink-tests/src/test/java/org/apache/flink/test/runtime/DefaultSchedulerLocalRecoveryITCase.java