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] [FLINK SQL] Could not load service provider for table factories. #3415

Closed
2 of 3 tasks
wangsan1988 opened this issue Apr 19, 2024 · 5 comments
Closed
2 of 3 tasks
Labels
FAQ Frequently Asked Questions Wont Fix This will not be worked on

Comments

@wangsan1988
Copy link

Search before asking

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

What happened

run the demo job by quick start of offical website .https://dinky.org.cn/docs/next/get_started/quick_experience
get a error : Could not load service provider for table factories. java.util.ServiceConfigurationError: org.apache.flink.table.factories.TableFactory: Provider org.apache.flink.table.planner.StreamPlannerFactory not a subtype.

image

job submit to yarn is successfully,then get a error : ava.lang.IndexOutOfBoundsException: Index: 0, Size: 0 , getYarnContainerLog
image

i think "Could not load service provider for table factories." it the root cause ,seem like jars or dependence problem ,but don't know how to fix it.
d6b42e62-5693-4d93-8656-61aff01022ad.txt

What you expected to happen

mate the demo job run

How to reproduce

  • dinky 1.0.0
  • flink 1.18.1
  • here is jars at /opt/software/dinky/extends/flink1.18
    image
  • here is the cluster config
    image

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

@wangsan1988 wangsan1988 added Bug Something isn't working Waiting for reply Waiting for reply labels Apr 19, 2024
@wangsan1988
Copy link
Author

d6b42e62-5693-4d93-8656-61aff01022ad.txt above is the full log file.
can anyone help,thanks

@wangsan1988
Copy link
Author

when change to local mode ,then get another error:
Caused by: org.apache.flink.table.api.ValidationException: Multiple factories for identifier 'datagen' that implement 'org.apache.flink.table.factories.DynamicTableFactory' found in the classpath.

Ambiguous factory classes are:

org.apache.flink.connector.datagen.table.DataGenTableSourceFactory
org.apache.flink.table.factories.DataGenTableSourceFactory
image

@Zzm0809 Zzm0809 removed their assignment Apr 19, 2024
@DataLinkDC DataLinkDC deleted a comment from github-actions bot Apr 19, 2024
@Zzm0809 Zzm0809 added Wont Fix This will not be worked on FAQ Frequently Asked Questions and removed Bug Something isn't working Waiting for reply Waiting for reply labels Apr 21, 2024
Copy link

Hello @wangsan1988, thank you for your feedback, but this issue will not be fixed. You can search for keywords in the Issue list to view it. Issues are marked `Wont Fix`

你好 @wangsan1988, 感谢你的反馈, 但是此问题不会被修复,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 `Wont Fix` 。

@Zzm0809
Copy link
Contributor

Zzm0809 commented Apr 21, 2024

排查环境

@Zzm0809 Zzm0809 closed this as completed Apr 21, 2024
@wangsan1988
Copy link
Author

算了,还是试试streampark了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Frequently Asked Questions Wont Fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants