Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10429 Redesign Flink Scheduling, introducing dedicated Scheduler component
  3. FLINK-14234

All partition consumable events should be notified to SchedulingStrategy (SchedulerNG)

    XMLWordPrintableJSON

Details

    Description

      SchedulingStrategy requires partition consumable notification to make scheduling decisions.
      According to SchedulingStrategy#onPartitionConsumable definition, all partition consumable events should be notified to SchedulingStrategy, including those from TMs (pipelined partitions consumable for data produced) and from within JM(blocking partitions consumable for producer finished).

      In this way, the LazyFromSourcesSchedulingStrategy does not need to maintain the result partition status by itself. InputDependencyConstraintChecker can be simplified a lot in this way.
      Besides that, LazyFromSourcesSchedulingStrategy does not need to be aware of result partition types(PIPELINED/BLOCKING) in this way.

      It would also simplify the input checking for pipelined region scheduling.

      More details see here.

      Attachments

        Issue Links

          Activity

            People

              zhuzh Zhu Zhu
              zhuzh Zhu Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m