Flink报错akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://flink/user/dispatcher#931521

问题描述:

flink集群正常启动,但是提交作业之后会报错,再次刷新flink的web界面时,会显示:{"errors":["Could not retrieve the redirect address of the current leader. Please try to refresh."]}

主要报错为:

org.apache.flink.client.program.ProgramInvocationException: Could not retrieve the execution result. (JobID: 26d1ff5f9e4a48ae6e067e207dfbaf67)

........................

Caused by: org.apache.flink.runtime.client.JobSubmissionException: Failed to submit JobGraph.

......................

Caused by: org.apache.flink.runtime.rest.util.RestClientException: [Internal server error., <Exception on server side:
akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://flink/user/dispatcher#931521960]] after [10000 ms]. Sender[null] sent message of type "org.apache.flink.runtime.rpc.messages.LocalFencedMessage".

------------------------------------分割线-------------------------------------------------

详细日志为:

---------------------------------分割线------------------------------------

解决方案:升级JDK版本

我的JDK版本为jdk1.8.0_11,升级为jdk1.8.0_221,重新启动集群,重新提交作业,可以正常运行。

-----------------------------the end------------------------------------

如果问题解决了,动动小手点个关注呗

 

posted @ 2019-08-06 15:07  大数据技术与数仓  阅读(1349)  评论(0编辑  收藏  举报