de)
Best regards,
Camelia
From: Camelia Elena Ciolac
Sent: Wednesday, November 11, 2015 10:41 AM
To: user@flink.apache.org
Subject: RE: Cluster installation gives java.lang.NoClassDefFoundError for
everything - detailed debugging
Hello,
As promised, I come back with
ache.flink.client.CliFrontend "$@"
>>
>>
>> ==> gave:
>>
>> flink ~
>> /users/camelia/thecluster
>> flink ~~~~~~~~~~~~~
>>
>> /users/camelia/thecluster/flink-0.9.1/lib/flink-dist-0.9.1.jar:/users/camelia
ClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.
ssLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.apache.flink.client.CliFrontend. Program
will exit.
I hope that now you have a better image of the issue and I hope you can provide
so
Hi!
Flink requires at least Java 1.7, so one of the reasons could also be that
the classes are rejected for an incompatible version (class format 1.7, JVM
does not understand it since it is only version 1.6).
That could explain things...
Greetings,
Stephan
On Wed, Nov 11, 2015 at 9:01 AM, Came
Good morning,
Thank you Stephan!
I keep on testing and in the meantime I'm wondering if the Java version on the
cluster may be part of the issue:
java version "1.6.0_36"
OpenJDK Runtime Environment (IcedTea6 1.13.8) (rhel-1.13.8.1.el6_7-x86_64)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mo
The distributed "start-cluster.sh" script works only, if the code is
accessible under the same path on all machines, which must be the same path
as on the machine where you invoke the script.
Otherwise the paths for remote shell commands will be wrong, and the
classpaths will be wrong as a result.