Skip to content

Commit

Permalink
[FLINK-34102][configuration] Fix the invalid configuration when using…
Browse files Browse the repository at this point in the history
… 'env.log.max' on yarn deployment mode
  • Loading branch information
RocMarshal authored and 1996fanrui committed Jan 17, 2024
1 parent eb6d6ff commit a20d57b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ public YarnClusterDescriptor(
this.userJarInclusion = getUserJarInclusionMode(flinkConfiguration);

adaptEnvSetting(flinkConfiguration, CoreOptions.FLINK_LOG_LEVEL, "ROOT_LOG_LEVEL");
adaptEnvSetting(flinkConfiguration, CoreOptions.FLINK_LOG_MAX, "MAX_LOG_FILE_NUMBER");

getLocalFlinkDistPath(flinkConfiguration).ifPresent(this::setLocalJarPath);
decodeFilesToShipToCluster(flinkConfiguration, YarnConfigOptions.SHIP_FILES)
Expand Down

0 comments on commit a20d57b

Please sign in to comment.