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

Conflict with Flink 1.15.4 #94

Open
dangshazi opened this issue Apr 26, 2023 · 2 comments
Open

Conflict with Flink 1.15.4 #94

dangshazi opened this issue Apr 26, 2023 · 2 comments

Comments

@dangshazi
Copy link

Flink changes ConnectionID in 1.15.4. Related issue : #21358

Error msg:

java.lang.NoSuchMethodError: org.apache.flink.runtime.io.network.ConnectionID.<init>(Ljava/net/InetSocketAddress;I)V
	at com.alibaba.flink.shuffle.plugin.transfer.RemoteShuffleInputGate$FakedRemoteInputChannel.<init>(RemoteShuffleInputGate.java:726)
	at com.alibaba.flink.shuffle.plugin.transfer.RemoteShuffleInputGate.getChannel(RemoteShuffleInputGate.java:682)
	at org.apache.flink.runtime.io.network.partition.consumer.InputGate.setChannelStateWriter(InputGate.java:90)
	at org.apache.flink.runtime.taskmanager.InputGateWithMetrics.setChannelStateWriter(InputGateWithMetrics.java:120)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.injectChannelStateWriterIntoChannels(StreamTask.java:491)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.<init>(StreamTask.java:464)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.<init>(StreamTask.java:363)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.<init>(StreamTask.java:336)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.<init>(StreamTask.java:328)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.<init>(StreamTask.java:318)
	at org.apache.flink.streaming.runtime.tasks.AbstractTwoInputStreamTask.<init>(AbstractTwoInputStreamTask.java:50)
	at org.apache.flink.streaming.runtime.tasks.TwoInputStreamTask.<init>(TwoInputStreamTask.java:49)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.apache.flink.runtime.taskmanager.Task.loadAndInstantiateInvokable(Task.java:1612)
	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:737)
	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:569)
	at java.lang.Thread.run(Thread.java:748)

@TanYuxin-tyx
Copy link
Collaborator

Yes that's right.

If you want to compile with new Flink 1.15, you can use the patch in the main branch. 23f3fbf

@dangshazi
Copy link
Author

Thanks

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

No branches or pull requests

2 participants