Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/exceptions/YarnException
当执行./bin/yarn-session.sh时报如下错误:
解决办法:
将cp /data/hadoop-3.1.4/share/hadoop/yarn/hadoop-yarn-api-3.1.4.jar /data/flink-1.10.2/lib/中,然后重新启动就OK了