Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33768 FLIP-379: Support dynamic source parallelism inference for batch jobs
  3. FLINK-34143

Modify the effective strategy of `execution.batch.adaptive.auto-parallelism.default-source-parallelism`

    XMLWordPrintableJSON

Details

    Description

      Currently, if users do not set the `execution.batch.adaptive.auto-parallelism.default-source-parallelism` configuration option, the AdaptiveBatchScheduler defaults to a parallelism of 1 for source vertices. In FLIP-379, the value of `execution.batch.adaptive.auto-parallelism.default-source-parallelism` will act as the upper bound for inferring dynamic source parallelism, and continuing with the current policy is no longer appropriate.

      We plan to change the effectiveness strategy of `execution.batch.adaptive.auto-parallelism.default-source-parallelism`; when the user does not set this config option, we will use the value of `execution.batch.adaptive.auto-parallelism.max-parallelism` as the upper bound for source parallelism inference. If `execution.batch.adaptive.auto-parallelism.max-parallelism` is also not configured, the value of `parallelism.default` will be used as a fallback.

      Attachments

        Issue Links

          Activity

            People

              xiasun xingbe
              xiasun xingbe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: