diff --git a/streampark-flink/streampark-flink-client/streampark-flink-client-core/src/main/scala/org/apache/streampark/flink/client/trait/FlinkClientTrait.scala b/streampark-flink/streampark-flink-client/streampark-flink-client-core/src/main/scala/org/apache/streampark/flink/client/trait/FlinkClientTrait.scala index b26262f20f..85da217fc8 100644 --- a/streampark-flink/streampark-flink-client/streampark-flink-client-core/src/main/scala/org/apache/streampark/flink/client/trait/FlinkClientTrait.scala +++ b/streampark-flink/streampark-flink-client/streampark-flink-client-core/src/main/scala/org/apache/streampark/flink/client/trait/FlinkClientTrait.scala @@ -487,8 +487,6 @@ trait FlinkClientTrait extends Logger { commandLine: CommandLine): Configuration = { require(activeCustomCommandLine != null, "activeCustomCommandLine must not be null.") - val executorConfig = activeCustomCommandLine.toConfiguration(commandLine) - val customConfiguration = new Configuration(executorConfig) val configuration = new Configuration() val flinkDefaultConfiguration = getFlinkDefaultConfiguration(flinkHome) flinkDefaultConfiguration.keySet.foreach( @@ -498,7 +496,7 @@ trait FlinkClientTrait extends Logger { case _ => } }) - configuration.addAll(customConfiguration) + configuration.addAll(activeCustomCommandLine.toConfiguration(commandLine)) configuration }