Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29501

Allow overriding JobVertex parallelisms during job submission

    XMLWordPrintableJSON

Details

    Description

      It is a common scenario that users want to make changes to the parallelisms in the JobGraph. For example, because they discover that the job needs more or less resources. There is the option to do this globally via the job parallelism. However, for fine-tuned jobs jobs with potentially many branches, tuning on the job vertex level is required.

      This is to propose a way such that users can apply a mapping jobVertexId => parallelism before the job is submitted without having to modify the JobGraph manually.

      One way to achieving this would be to add an optional map field to the Rest API jobs endpoint. However, in deployment modes like the application mode, this might not make sense because users do not have control the rest endpoint.

      Similarly to how other job parameters are passed in the application mode, we propose to add the overrides as a configuration parameter.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: