Unverified Commit f54fd772 authored by luoshangjie's avatar luoshangjie Committed by GitHub

[Fix] Fix the issue of ineffective cluster configuration parameters for…

[Fix] Fix the issue of ineffective cluster configuration parameters for submitting Flink Jar tasks in Per-Job mode (#3607) Co-authored-by: 's avatarluoshangjie <luoshangjie@yfpharmacy.com> Co-authored-by: 's avatar18216499322 <18216499322@users.noreply.github.com>
parent 779c4857
......@@ -213,6 +213,12 @@ public class JobConfig {
}
public ExecutorConfig getExecutorSetting() {
Map<String, String> config = new HashMap<>(32);
if (GatewayType.isDeployCluster(type) && gatewayConfig != null && gatewayConfig.getFlinkConfig() != null) {
config.putAll(gatewayConfig.getFlinkConfig().getConfiguration());
} else {
config.putAll(configJson);
}
return ExecutorConfig.build(
type,
address,
......@@ -223,7 +229,7 @@ public class JobConfig {
batchModel,
savePointPath,
jobName,
configJson,
config,
variables);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment