Skip to content

Commit 7a49ae1

Browse files
Jam804tclxyuhang2-zhangactions-user
authored
[bug][dinky-gateway] Fix the issue where two Flink configuration items with the same prefix cause errors in Flink configuration parsing. (#4295)
Co-authored-by: yuhang2.zhang <[email protected]> Co-authored-by: GH Action - Upstream Sync <[email protected]>
1 parent c41badc commit 7a49ae1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dinky-client/dinky-client-1.19/src/main/java/org/apache/flink/kubernetes/kubeclient/decorators/FlinkConfMountDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private List<String> getClusterSideConfData(Configuration flinkConfig) {
154154
clusterSideConfig.removeConfig(JobManagerOptions.BIND_HOST);
155155
clusterSideConfig.removeConfig(TaskManagerOptions.BIND_HOST);
156156
clusterSideConfig.removeConfig(TaskManagerOptions.HOST);
157-
return ConfigurationUtils.convertConfigToWritableLines(clusterSideConfig, false);
157+
return ConfigurationUtils.convertConfigToWritableLines(clusterSideConfig, true);
158158
}
159159

160160
@VisibleForTesting

dinky-client/dinky-client-1.20/src/main/java/org/apache/flink/kubernetes/kubeclient/decorators/FlinkConfMountDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private List<String> getClusterSideConfData(Configuration flinkConfig) {
154154
clusterSideConfig.removeConfig(JobManagerOptions.BIND_HOST);
155155
clusterSideConfig.removeConfig(TaskManagerOptions.BIND_HOST);
156156
clusterSideConfig.removeConfig(TaskManagerOptions.HOST);
157-
return ConfigurationUtils.convertConfigToWritableLines(clusterSideConfig, false);
157+
return ConfigurationUtils.convertConfigToWritableLines(clusterSideConfig, true);
158158
}
159159

160160
@VisibleForTesting

0 commit comments

Comments
 (0)