Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page properties

Document the state by adding a label to the FLIP page with one of "discussion", "accepted", "released", "rejected".

Discussion threadhttps://lists.apache.org/thread/m2v9n4yynm97v8swhqj2o5k0sqlb5ym4
Vote threadhttps://lists.apache.org/thread/wpbms7rywjcodv7qdgx803277th508og
JIRA

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyFLINK-15959

ReleaseTBA1.19


Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

Option nameDefault Value
slotmanager.number-of-slots.min0
slotmanager.min-total-resource.cpuno default value, it can be derived from slotmanager.number-of-slots.min
slotmanager.min-total-resource.memoryno default value, it can be derived from slotmanager.number-of-slots.min

Notice: Like the maximum resource options, the minimum resource options will also be invalidated in standalone clusters.


Proposed Changes

Minimum required resource check in DefaultResourceAllocationStrategy

...

To avoid this oscillation, we need to check the worker number derived from minimum and maximum resource configuration is consistent before starting SlotManager.

Notice: The resource stability check will be disabled when the minimum resource option is 0 which is set as default.

Compatibility, Deprecation, and Migration Plan

...