Versions Compared

Key

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

...

Page properties


Discussion threadhttps://lists.apache.org/thread/mx3ot0fmk6zr02ccdby0s8oqxqm2pn1x
Vote threadhere (<- link to https://lists.apache.org/list.html?dev@flink.apache.org)thread/l4g4jnggp677hb5mxxk5rb8jc1tth2sc
JIRA

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

Release<Flink Version>


...

  • If the JV of the SEV doesn’t contain co-location constraint
    • If the parallelism of JV is equals to numberOfSlots
      • Traverse all SEVs of JV, assign the SEVs[subtask_index] to the ESSGs[subtask_index]This strategy ensures that SEVs with the same index can be assigned to the same ESSG. 
      • It also ensures that co-located subtasks  will be in one ESSG, given that co-located job vertices share the same parallelism and will always be in the same SSG. 
      • In the case of forward edges, remote data exchange of such JVs can be reduced, all subtasks with forward shuffle are still in the same Slot, and they are local data exchange
    • If the parallelism of JV is less than the numberOfSlots in the current SSG.
      • Get  ESSGs[++eSSGIndex]  as ESSG.
      • Add the SEV into the target ESSG.

...

  • Expose two options to the user
  • Change the strategy of slot.request.max-interval
    • The old strategy is: when `current time > arrival time of the last slotRequest + slot.request.max-interval` and `the number of available slots cached exceeds or equals the pending slots`, the slots selection and allocation can be carried out.
    • The latest strategy is:
      • For DeclarativeSlotPool#increaseResourceRequirementsBy, When `current time > arrival time of the last slotRequest + slot.request.max-interval`, then the DeclarativeSlotPool declareResourceRequirement to the RM.
      • For DeclarativeSlotPool#decreaseResourceRequirementsByWhen `current time > arrival time of the last slotRequest + slot.request.max-interval`, then the SlotPool DeclarativeSlotPool declareResourceRequirement to  to the RM.
      • For DeclarativeSlotPoolBridge, When `the number of available slots cached exceeds or equals the pending slots`, the slots selection and allocation can be carried out.
    • This new strategy not only implements the functionality of the old strategy, but also reduces the number of rpcs from SlotPool to ResourceManager.

...