一、产生问题背景
我们公司正在准备从cdh迁回社区版hadoop集群,启动flink任务的时候,还未运行就直接报错:
Caused by: org.apache.flink.yarn.YarnClusterDescriptor$YarnDeploymentException: The YARN application unexpectedly switched to state FAILED during deployment.
Diagnostics from YARN: Application application_1611303948765_0059 failed 2 times in previous 10000 milliseconds due to AM Container for appattempt_1611303948765_0059_000002 exited with exitCode: -1000
Failing this attempt.Diagnostics: [2021-01-27 10:02:57.833]File does not exist: hdfs://4399cluster/user/hadoop/.flink/application_1611303948765_0059/flink-dist_2.11-1.12-SNAPSHOT.jar
java.io.FileNotFoundException: File does not exist: hdfs://4399cluster/user/hadoop/.flink/application_1611303948765_0059/flink-dist_2.11-1.12.0.jar
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1729)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(Dist