flink消费kafka报错 Couldn't retrieve the JobExecutionResult from the JobManager-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

flink消费kafka报错 Couldn't retrieve the JobExecutionResult from the JobManager

2019-03-28 10:45:36 5690 1

Starting execution of program
Submitting job with JobID: aca099531abda417700799ace53e0fbd. Waiting for job completion.


The program finished with the following exception:

org.apache.flink.client.program.ProgramInvocationException: The program execution failed: Couldn't retrieve the JobExecutionResult from the JobManager.

at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:492)
at org.apache.flink.client.program.StandaloneClusterClient.submitJob(StandaloneClusterClient.java:105)
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:456)
at org.apache.flink.streaming.api.environment.StreamContextEnvironment.execute(StreamContextEnvironment.java:66)
at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1501)
at com.calabar.flinkDemo.kafka.ReadFromKafka.main(ReadFromKafka.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:525)
at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:417)
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:396)
at org.apache.flink.client.CliFrontend.executeProgram(CliFrontend.java:802)
at org.apache.flink.client.CliFrontend.run(CliFrontend.java:282)
at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1054)
at org.apache.flink.client.CliFrontend$1.call(CliFrontend.java:1101)
at org.apache.flink.client.CliFrontend$1.call(CliFrontend.java:1098)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1727)
at org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1098)

Caused by: org.apache.flink.runtime.client.JobExecutionException: Couldn't retrieve the JobExecutionResult from the JobManager.

at org.apache.flink.runtime.client.JobClient.awaitJobResult(JobClient.java:300)
at org.apache.flink.runtime.client.JobClient.submitJobAndWait(JobClient.java:387)
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:481)
... 22 more

Caused by: org.apache.flink.runtime.client.JobClientActorConnectionTimeoutException: Lost connection to the JobManager.

at org.apache.flink.runtime.client.JobClientActor.handleMessage(JobClientActor.java:219)
at org.apache.flink.runtime.akka.FlinkUntypedActor.handleLeaderSessionID(FlinkUntypedActor.java:104)
at org.apache.flink.runtime.akka.FlinkUntypedActor.onReceive(FlinkUntypedActor.java:71)
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165)
at akka.actor.Actor$class.aroundReceive(Actor.scala:502)
at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
at akka.actor.ActorCell.invoke(ActorCell.scala:495)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
at akka.dispatch.Mailbox.run(Mailbox.scala:224)
at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
取消 提交回答
全部回答(1)
  • 牧明
    2019-09-24 17:42:48
    纯java开发的软件在linux下面也可以应用自如。 那么首先就需要配置好linux下的java环境,具体说来,就是配置jdk环境变量。 介绍在linux下配置jdk环境变量的几种常用方法。 首先在linux下安装jdk,如果出现提示权限不够(且root下也提示权限不够)
    

    “答案来源于网络,供您参考”

    0 0
相关问答

0

回答

大家用的hive的什么版本,在flink项目里怎么引用hive-exec jar包的,我发现在hiv

2022-06-10 10:52:40 136浏览量 回答数 0

1

回答

Kafka里的cmmgr32.exe的作用和操作类型是什么?

2021-12-07 18:58:07 124浏览量 回答数 1

1

回答

Apache RocketMQ 中 ong ast eaderHeartBeatTim

2021-11-19 21:13:44 76浏览量 回答数 1

2

回答

How do you remove a column from a MySQL database?

2021-10-16 16:45:24 205浏览量 回答数 2

0

回答

错误: 找不到或无法加载主类 org.apache.hadoop.util.VersionInfo

2020-11-10 16:13:30 342浏览量 回答数 0

1

回答

DataStreamUtils.reinterpretAsKeyedStream 这个#Flink

2020-06-30 19:00:03 575浏览量 回答数 1

1

回答

windows 下运行maven 出现 sh.exe": mvn: comman?报错

2020-06-09 16:25:25 233浏览量 回答数 1

2

回答

ECS Windows Server通过Apache 绑定网站域名

2017-07-03 13:32:40 2572浏览量 回答数 2

2

回答

QAP Mobile SDK,关于QN.share

2017-03-14 21:19:41 2679浏览量 回答数 2

1

回答

MyEclipse 6.5 & Tomcat 7 启动成功但是说WebSocketServlet cannot be resolved to a type

2016-05-30 14:55:40 2436浏览量 回答数 1
+关注
0
文章
1
问答
问答排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载