We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2be57e4 commit 5e5457cCopy full SHA for 5e5457c
tools/mig-test/misc/patch_flink_conf.rb
@@ -26,7 +26,11 @@
26
execution.checkpointing.interval: 300
27
EXTRACONF
28
29
-File.write("#{FLINK_HOME}/conf/flink-conf.yaml", EXTRA_CONF, mode: 'a+')
+if File.file?("#{FLINK_HOME}/conf/flink-conf.yaml")
30
+ File.write("#{FLINK_HOME}/conf/flink-conf.yaml", EXTRA_CONF, mode: 'a+')
31
+else
32
+ File.write("#{FLINK_HOME}/conf/config.yaml", EXTRA_CONF, mode: 'a+')
33
+end
34
35
# MySQL connector is not provided
36
`wget https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.27/mysql-connector-java-8.0.27.jar -O #{FLINK_HOME}/lib/mysql-connector-java-8.0.27.jar`
0 commit comments