Admaing commented on PR #18667: URL: https://github.com/apache/dolphinscheduler/pull/18667#issuecomment-6230513647
@SbloodyS All three addressed in 524e4a3d30. 1. Complete option units are merged. mergeClusterConnectionOptions() groups the tokens into options first, so a -D <key>=<value> given as two arguments keeps both of them and the key which is merged is the configuration it sets. -D rest.address=remote-jm -D rest.port=8081 now reaches flink cancel unchanged, covered from extraction through buildCancelCommandLine. 2. SQL SET values are shell-escaped. A value which contains a space or a metacharacter is single quoted (inner quotes escaped), so SET 'security.ssl.rest.truststore' = '/opt/flink configs/client.jks' is passed to the CLI as one argument; plain values are left as they are. Covered with values containing spaces and metacharacters. 3. Connection settings are kept per submitted JobID. The scripts are scanned statement by statement, a snapshot is taken for every update statement (a statement set counts as one job, since it is submitted as a single job), and each cancel / savepoint command uses the settings of its own job. Covered for both cancel and savepoint with two jobs submitted to different endpoints. task-api 136, flink 47, flink-stream 16 tests pass, 0 skipped, spotless passes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
