Flink 1.9 : Wordcount报错:ClassNotFoundException: yarn.exceptions.YarnException

1.背景


启动flink

lcc@lcc bin$ ./start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host lcc.
Starting taskexecutor daemon on host lcc.

然后执行wordcount命令

lcc@lcc flink-1.9.0$ ./bin/flink run examples/streaming/WordCount.jar
Starting execution of program
Executing WordCount example with default input data set.
Use --input to specify file input.
Printing result to stdout. Use --output to specify output path.
Program execution finished
Job with JobID d189e57967370c46f106b48dd30c0cc7 has finished.
Job Runtime: 238 ms

然后在后台报错

 
 

你可能感兴趣的:(大数据-flink)