Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10392 Remove legacy mode
  3. FLINK-14462

Remove JobGraph#allowQueuedScheduling flag because it is always true

    XMLWordPrintableJSON

    Details

      Description

      CC Till RohrmannZhu Zhu

      The only point #setAllowQueuedScheduling(false) is in JobGraphGenerator. IIRC we always #setAllowQueuedScheduling(true) after the generation and before the submission. For reduce confusion I propose to remove JobGraph#allowQueuedScheduling and refactor the related logic to all respect true.

      This flag is originally used for configuring different resource allocation strategy between legacy mode and FLIP-6 arch. And there remains branches in Scheduler which might cause further confusion.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tison Zili Chen
                Reporter:
                tison Zili Chen
              • 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