NoClassDefFoundError when running on Yarn

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

NoClassDefFoundError when running on Yarn

kenko
Hi All,

I am currently running a flink program in a standalone cluster with 2 jar files: libraries and the source code jars. I don't have any problems when running in a standalone cluster but when running on a yarn cluster I'm encountering NoClassDefFoundError. I've checked my lib jars and I can find all the classes. Why is it that when running on yarn, some of the classes are not found? But in a standalone cluster it works fine. Is there a major advantage when running in yarn cluster?

Thanks.