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] [Setting Center] dinky was down when set Resource mode to oss #4173

Open
2 of 3 tasks
bulolo opened this issue Jan 22, 2025 · 7 comments
Open
2 of 3 tasks

[Bug] [Setting Center] dinky was down when set Resource mode to oss #4173

bulolo opened this issue Jan 22, 2025 · 7 comments
Assignees
Labels
Bug Something isn't working

Comments

@bulolo
Copy link

bulolo commented Jan 22, 2025

Search before asking

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

What happened

Image

What you expected to happen

will not down when set to oss

How to reproduce

only to change it on web

Anything else

No response

Version

1.2.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@bulolo bulolo added Bug Something isn't working Waiting for reply Waiting for reply labels Jan 22, 2025
Copy link

Hello @bulolo, this issue is about web, so I assign it to @Zzm0809. If you have any questions, you can comment and reply.

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

@bulolo bulolo changed the title [Bug] [Module Name] dinky was down when set Resource mode to oss [Bug] [配置中心] dinky was down when set Resource mode to oss Jan 22, 2025
@bulolo bulolo changed the title [Bug] [配置中心] dinky was down when set Resource mode to oss [Bug] [Setting Center] dinky was down when set Resource mode to oss Jan 22, 2025
@aiwenmo aiwenmo removed the Waiting for reply Waiting for reply label Jan 22, 2025
@aiwenmo
Copy link
Contributor

aiwenmo commented Jan 22, 2025

Please have a try in Dinky1.2.1

@bulolo bulolo closed this as completed Jan 22, 2025
@bulolo
Copy link
Author

bulolo commented Jan 22, 2025

Please have a try in Dinky1.2.1

i am using 1.2.1,sorry i close it ,how to reopen it

@aiwenmo aiwenmo reopened this Jan 22, 2025
@bulolo
Copy link
Author

bulolo commented Jan 22, 2025

当在不知情的时候按了oss,会导致整个部署的dinky直接挂彩,并且启动不起来,我认为需要一个保护措施

@aiwenmo
Copy link
Contributor

aiwenmo commented Jan 23, 2025

I agree with you.

@bulolo
Copy link
Author

bulolo commented Jan 23, 2025

I agree with you.

otherwise, the name "oss" should change to "s3" better

@jiangwwwei
Copy link
Contributor

这个问题是由于你开启了HistoryServer,它会加载Resource的配置。当Resource中的配置不正确时,HistoryServer抛oss相关的异常会把dinky也停止。
此外,oss依赖的是aws的sdk,Historyserver依赖的是 flink-s3-presto ,这两个对路径前的"/"处理是不一样的。可以看我提的这个问题#4088

可以考虑暂时关闭HistoryServer,等以后版本修复这个问题

This issue occurs because you have enabled the HistoryServer, which loads the configuration of the Resource. When the configuration in the Resource is incorrect, the HistoryServer throws an exception related to OSS, which also stops Dinky. Additionally, OSS depends on the AWS SDK, while HistoryServer depends on flink-s3-presto, and these two handle the leading "/" in the path differently.
You can refer to the issue I raised #4088 for more details. As a temporary solution, you can consider disabling the HistoryServer until this issue is fixed in a future version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants