apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
7.79k stars 1.74k forks source link

[Bug] [seatunnel-translation-flink] Seatunnel Flink translation doesn't support 1.19.1 #7255

Closed litiliu closed 1 week ago

litiliu commented 1 month ago

Search before asking

What happened

When I tried to run the seatunnel with flink 1.19.1, I got the below exception:

Caused by: java.lang.NoSuchFieldException: runtimeContext
    at java.lang.Class.getDeclaredField(Class.java:2070)
    at org.apache.seatunnel.translation.flink.sink.FlinkSinkWriterContext.getStreamingRuntimeContextForV15(FlinkSinkWriterContext.java:76)

SeaTunnel Version

2.3.5

SeaTunnel Config

none

Running Command

org.apache.seatunnel.example.flink.v2.SeaTunnelApiExample#main

Error Exception

Caused by: java.lang.NoSuchFieldException: runtimeContext
    at java.lang.Class.getDeclaredField(Class.java:2070)
    at org.apache.seatunnel.translation.flink.sink.FlinkSinkWriterContext.getStreamingRuntimeContextForV15(FlinkSinkWriterContext.java:76)

Zeta or Flink or Spark Version

Flink 1.19.1

Java or Scala Version

java 8

Screenshots

No response

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] commented 1 week ago

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.