Hi Team, I am trying to get started with flink loc...
# troubleshooting
v
Hi Team, I am trying to get started with flink locally by setting it up on Mac. And I am getting following error org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Shutting StandaloneSessionClusterEntrypoint down with application status FAILED. Diagnostics java.lang.IllegalAccessError: class org.apache.flink.util.NetUtils (in unnamed module @0x2d4e282b) cannot access class sun.net.util.IPAddressUtil (in module java.base) because module java.base does not export sun.net.util to unnamed module @0x2d4e282b at org.apache.flink.util.NetUtils.unresolvedHostToNormalizedString(NetUtils.java:207) at org.apache.flink.util.NetUtils.unresolvedHostAndPortToNormalizedString(NetUtils.java:235) at org.apache.flink.runtime.rpc.akka.AkkaBootstrapTools.startRemoteActorSystem(AkkaBootstrapTools.java:167) My Java version is - openjdk 20.0.1 Gradle 8.1.1
Appreciate any help to resolve this
m
Flink doesn't support Java version > 11
v
Thank @Martijn Visser got it, I was able to run it by downgrading the java version