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] [k8s app] submit job with k8s app ha mode,flink have the same jobid,submit and cancle job throw error #3244

Open
2 of 3 tasks
zhengtingxue opened this issue Mar 6, 2024 · 3 comments
Assignees
Labels
Bug Something isn't working Invalid Invalid P2 level 2
Milestone

Comments

@zhengtingxue
Copy link
Contributor

Search before asking

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

What happened

submit job with k8s app ha mode,flink have the same jobid,like 0000000006924de00000000000000000;submit job throw error "Duplicate entry 'test20000000006924de00000000000000000-1' for key 'cluster_un_idx1'" when the old flink instance still exists,and cancle job throw error "Expected one result (or null) to be returned by selectOne(), but found: 5" because of the same id;

What you expected to happen

submit job and cancle job work well

How to reproduce

submit job with k8s app ha mode,

Anything else

No response

Version

1.0.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@zhengtingxue zhengtingxue added Bug Something isn't working Waiting for reply Waiting for reply labels Mar 6, 2024
Copy link

github-actions bot commented Mar 6, 2024

Hello @zhengtingxue, this issue is about K8S, so I assign it to @gaoyan1998 and @zackyoungh. If you have any questions, you can comment and reply.

你好 @zhengtingxue, 这个 issue 是关于 K8S 的,所以我把它分配给了 @gaoyan1998@zackyoungh。如有任何问题,可以评论回复。

@Zzm0809 Zzm0809 removed the Waiting for reply Waiting for reply label Mar 9, 2024
@gaoyan1998
Copy link
Contributor

gaoyan1998 commented Mar 13, 2024

mysql表内可以试着取消name唯一约束,这个不影响任务,后续会修复此问题

@gaoyan1998 gaoyan1998 added this to the 1.0.1 milestone Mar 13, 2024
@gaoyan1998 gaoyan1998 added the P2 level 2 label Mar 13, 2024
@gaoyan1998 gaoyan1998 modified the milestones: 1.0.1, 1.1.0 Mar 13, 2024
Copy link

github-actions bot commented May 1, 2024

Hello @, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply.

你好 @, 这个 issue 30 天内没有活跃,7 天后将关闭,如需回复,可以评论回复。

@github-actions github-actions bot added the Invalid Invalid label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Invalid Invalid P2 level 2
Projects
Status: ToDo
Development

No branches or pull requests

4 participants