I am trying to set up flink and run a cluster, although I get the following output which seems like the cluster started:
$ ./bin/start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host LAPTOP-HRAHBL24.
Starting taskexecutor daemon on host LAPTOP-HRAHBL24.
When I go to localhost:8081 the connection gets refused, so I checked the flink logs and in the taskexecutor logs I see the following error:
Error: Could not find or load main class org.apache.flink.runtime.taskexecutor.TaskManagerRunner
and in the standalone logs I get this:
Error: Could not find or load main class org.apache.flink.runtime.entrypoint.StandaloneSessionClusterEntrypoint
I have been searching the internet and couldn't find anything. My java env and system variables are correct as I can see the output of java -version and javac -version. I am using java 8, specifically jdk1.8.0_251. I tried the above with Flink 1.10.1 and 1.5.0, both give me the same error.
Any idea on how to resolve this?