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

Forward Configuration in PackagedProgramUtils#getPipelineFromProgram

    XMLWordPrintableJSON

Details

    Description

      PackagedProgramUtils#createJobGraph(...) is used to generate JobGraph in k8s job mode.
      The problem is that the configuration field of StreamExecutionEnvironment is a newly created one when building the job program. This is because StreamPlanEnvironment ctor will base on the no param version ctor of StreamExecutionEnvironment.

      This may lead to an unexpected result when invoking StreamExecutionEnvironment#configure(...) which relies on the configuration. Many configurations in the flink conf file will not be respected, like pipeline.time-characteristic, pipeline.operator-chaining, execution.buffer-timeout, and state backend configs.

      Attachments

        Issue Links

          Activity

            People

              aljoscha Aljoscha Krettek
              zhuzh Zhu Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              7 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 - 40m
                  40m