This is an automated email from the ASF dual-hosted git repository. xtsong pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
from c6e824c955b [hotfix] Remove out-dated comment new a0aa4813b9f [FLINK-29870][runtime] Split ResourceActions to ResourceAllocator and ResourceEventListener. new 209df810f13 [FLINK-29870][runtime] move ResourceAllocator to ActiveResourceManager. The 2 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: .../runtime/resourcemanager/ResourceManager.java | 81 +++++++------------ .../resourcemanager/StandaloneResourceManager.java | 23 +++--- .../active/ActiveResourceManager.java | 70 +++++++++++++---- .../slotmanager/DeclarativeSlotManager.java | 25 +++--- .../slotmanager/FineGrainedSlotManager.java | 53 ++++++++----- .../NonSupportedResourceAllocatorImpl.java} | 29 +++---- ...ResourceActions.java => ResourceAllocator.java} | 26 +++---- .../slotmanager/ResourceEventListener.java} | 21 +++-- .../resourcemanager/slotmanager/SlotManager.java | 10 ++- .../slotmanager/TaskExecutorManager.java | 37 +++++---- .../resourcemanager/ResourceManagerTest.java | 31 +++----- .../resourcemanager/TestingResourceManager.java | 27 ++++--- .../TestingResourceManagerFactory.java | 20 +++-- .../active/ActiveResourceManagerTest.java | 71 ++++++++--------- .../AbstractFineGrainedSlotManagerITCase.java | 12 +-- .../slotmanager/DeclarativeSlotManagerBuilder.java | 40 ++++++++-- .../slotmanager/DeclarativeSlotManagerTest.java | 91 +++++++++++----------- ...gerDefaultResourceAllocationStrategyITCase.java | 7 +- .../slotmanager/FineGrainedSlotManagerTest.java | 12 +-- .../FineGrainedSlotManagerTestBase.java | 10 ++- .../slotmanager/TaskExecutorManagerBuilder.java | 8 +- .../slotmanager/TaskExecutorManagerTest.java | 52 ++++++------- .../slotmanager/TestingResourceActionsBuilder.java | 72 ----------------- ...eActions.java => TestingResourceAllocator.java} | 40 ++++------ .../TestingResourceAllocatorBuilder.java | 47 +++++++++++ .../slotmanager/TestingResourceEventListener.java | 48 ++++++++++++ .../TestingResourceEventListenerBuilder.java} | 30 ++++--- .../slotmanager/TestingSlotManager.java | 3 +- 28 files changed, 526 insertions(+), 470 deletions(-) copy flink-runtime/src/{test/java/org/apache/flink/runtime/io/disk/NoOpFileChannelManager.java => main/java/org/apache/flink/runtime/resourcemanager/slotmanager/NonSupportedResourceAllocatorImpl.java} (54%) rename flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/slotmanager/{ResourceActions.java => ResourceAllocator.java} (69%) copy flink-runtime/src/main/java/org/apache/flink/runtime/{jobmaster/slotpool/DeclarativeSlotPoolFactory.java => resourcemanager/slotmanager/ResourceEventListener.java} (63%) delete mode 100644 flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/TestingResourceActionsBuilder.java rename flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/{TestingResourceActions.java => TestingResourceAllocator.java} (54%) create mode 100644 flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/TestingResourceAllocatorBuilder.java create mode 100644 flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/TestingResourceEventListener.java copy flink-runtime/src/test/java/org/apache/flink/runtime/{jobmaster/slotpool/TestingDeclarativeSlotPoolFactory.java => resourcemanager/slotmanager/TestingResourceEventListenerBuilder.java} (52%)