Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [dinky-admin] Got an exception - "Cause: java.sql.SQLException: Field 'name' doesn't have a default value" when i run a jar task #3344

Closed
2 of 3 tasks
yingh0ng opened this issue Apr 1, 2024 · 8 comments
Labels
FAQ Frequently Asked Questions Invalid Invalid

Comments

@yingh0ng
Copy link

yingh0ng commented Apr 1, 2024

Search before asking

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

What happened

运行jar任务报错
image

What you expected to happen

运行成功

How to reproduce

1、配置本地standalone集群
2、资源中心选择LOCAL模式
3、创建flink jar作业
4、使用以下语句运行作业:
EXECUTE JAR WITH (
'uri'='rs:/flink-quikstart-java-1.0-SNAPSHOT.jar',
'main-class'='org.apache.flink.DorisBatchTest',
'args'='1770003084665495553'
);

Anything else

dinky版本:dinky-release-1.18-1.0.1(下面的version无法选择1.0.1分支)

task接口请求体
image

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@yingh0ng yingh0ng added Bug Something isn't working Waiting for reply Waiting for reply labels Apr 1, 2024
@Zzm0809
Copy link
Contributor

Zzm0809 commented Apr 1, 2024

请规范化 issue title

@Zzm0809
Copy link
Contributor

Zzm0809 commented Apr 1, 2024

此问题无法复现 请尝试清除缓存后重试

@Zzm0809 Zzm0809 added Invalid Invalid FAQ Frequently Asked Questions and removed Bug Something isn't working Waiting for reply Waiting for reply labels Apr 1, 2024
@yingh0ng yingh0ng changed the title [Bug] [Task] Got an exception - "Cause: java.sql.SQLException: Field 'name' doesn't have a default value" when i run a jar task [Bug] [dinky admin] Got an exception - "Cause: java.sql.SQLException: Field 'name' doesn't have a default value" when i run a jar task Apr 1, 2024
@yingh0ng yingh0ng changed the title [Bug] [dinky admin] Got an exception - "Cause: java.sql.SQLException: Field 'name' doesn't have a default value" when i run a jar task [Bug] [dinky-admin] Got an exception - "Cause: java.sql.SQLException: Field 'name' doesn't have a default value" when i run a jar task Apr 1, 2024
@yingh0ng
Copy link
Author

yingh0ng commented Apr 1, 2024

此问题无法复现 请尝试清除缓存后重试

刷新缓存或者更换浏览器都不行哦,而且我这是第一次部署dinky。
无论是点保存还是运行都报一样的异常,感觉是前端没有传任务名称参数。

@yingh0ng
Copy link
Author

yingh0ng commented Apr 1, 2024

image

@yingh0ng
Copy link
Author

yingh0ng commented Apr 1, 2024

重新部署在Ubuntu上就好了,原来是部署在Debian上

@yingh0ng yingh0ng closed this as completed Apr 1, 2024
@aiwenmo
Copy link
Contributor

aiwenmo commented Apr 1, 2024

What operation triggered the exception?

@Zane56Git
Copy link
Contributor

什么操作触发了异常?

我也遇到过,Profile配置不对,代码编译没有选择dev、fast(并且flink选了all),直接创建一个任务输入模板的代码保存点击运行就会有这个报错了,前端根本没传参数到后端后面按官网重新配置了Profile,重新编译启动,清理页面缓存后就可以了,后端接口有限制必填参数好排查些

@Zane56Git
Copy link
Contributor

此问题无法复现 请尝试清除缓存后重试

刷新缓存或者更换浏览器都不行哦,而且我这是第一次部署dinky。 无论是点保存还是运行都报一样的异常,感觉是前端没有传任务名称参数。

我也遇到过,Profile配置不对,代码编译没有选择dev、fast(并且flink选了all),发现前端根本没传参数到后端,后面按官网重新配置了Profile,重新编译启动,清理页面缓存后就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Frequently Asked Questions Invalid Invalid
Projects
None yet
Development

No branches or pull requests

4 participants