Skip to content

[Bug] flink jar task cannot save set variables #4039

Closed
@bestboy

Description

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

任务设置 SET 'execution.checkpointing.interval'='30'; 等变量,并且点击保存,提示保存成功。刷新页面或重新进入项目后,提示版本不一致,后端并没有保存上,右侧的勾选手动输入的选项也会重置为未选中。还有一个问题就是用EXECUTE JAR WITH语法一直提示格式有误,语法有误,最后只能使用右边的form提交

EXECUTE JAR WITH (
-- 这里对应的就是我们刚刚在资源上传的Jar包
'uri'='rs:///flink-doris-connector-1.19-24.0.0.jar',
'main-class'='org.apache.doris.flink.tools.cdc.CdcTools',
'args'=' mysql-sync-database
--database app_db
--mysql-conf hostname=192.168.1.68
--mysql-conf port=3306
--mysql-conf username=root
--mysql-conf password=123456
--mysql-conf database-name=app_db
--mysql-conf server-time-zone=UTC
--including-tables "orders"
--sink-conf fenodes=192.168.1.68:8030
--sink-conf username=root
--sink-conf jdbc-url=jdbc:mysql://192.168.1.68:9030
--sink-conf sink.label-prefix=label-2
--table-conf replication_num=1 '
);

image image

What you expected to happen

可以保存自定义信息

How to reproduce

如图

Anything else

No response

Version

1.2.0-RC5

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions