【Flink】JobInitializationException: Could not start the JobMaster

新建了一个flink程序,提交到yarn上报错,yarn任务直接失败,异常如下:

org.apache.flink.util.FlinkException: JobMaster for job 4df20274065bec19be8d933c760ebf44 failed.
    at org.apache.flink.runtime.dispatcher.Dispatcher.jobMasterFailed(Dispatcher.java:871) ~[flink-test1-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
    at org.apache.flink.runtime.dispatcher.Dispatcher.jobManagerRunnerFailed(Dispatcher.java:464) ~[flink-test1-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
    at org.apache.flink.runtime.dispatcher.Dispatcher.handleJobManagerRunnerResult(Dispatcher.java:437) ~[flink-test1-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
    at org.apache.flink.runtime.dispatcher.Dispatcher.lambda$runJob$3(Dispatcher.java:416) ~[flink-test1-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
    at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[?:1.8.0_201]
    at java.util.concurrent.CompletableFuture$UniHandle.tryFire

你可能感兴趣的:(Flink实战,flink,java)