报错Caused by: org.apache.kafka.common.errors.TimeoutException: Timeout of 60000ms expired before the

avatar
作者
筋斗云
阅读量:0
Exception in thread "main" org.apache.flink.runtime.client.JobExecutionException: Job execution failed.     at org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult(JobResult.java:144)     at org.apache.flink.runtime.minicluster.MiniClusterJobClient.lambda$getJobExecutionResult$3(MiniClusterJobClient.java:137)     at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)     at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)     at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)     at org.apache.flink.runtime.rpc.akka.AkkaInvocationHandler.lambda$invokeRpc$0(AkkaInvocationHandler.java:250)     at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)     at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)     at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)     at org.apache.flink.util.concurrent.FutureUtils.doForward(FutureUtils.java:1389)     at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.lambda$null$1(ClassLoadingUtils.java:93)     at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:68)     at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.lambda$guardCompletionWithContextClassLoader$2(ClassLoadingUtils.java:92)     at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)     at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)     at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)     at org.apache.flink.runtime.concurrent.akka.AkkaFutureUtils$1.onComplete(AkkaFutureUtils.java:47)     at akka.dispatch.OnComplete.internal(Future.scala:300)     at akka.dispatch.OnComplete.internal(Future.scala:297)     at akka.dispatch.japi$CallbackBridge.apply(Future.scala:224)     at akka.dispatch.japi$CallbackBridge.apply(Future.scala:221)     at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)     at org.apache.flink.runtime.concurrent.akka.AkkaFutureUtils$DirectExecutionContext.execute(AkkaFutureUtils.java:65)     at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:68)     at scala.concurrent.impl.Promise$DefaultPromise.$anonfun$tryComplete$1(Promise.scala:284)     at scala.concurrent.impl.Promise$DefaultPromise.$anonfun$tryComplete$1$adapted(Promise.scala:284)     at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)     at akka.pattern.PromiseActorRef.$bang(AskSupport.scala:621)     at akka.pattern.PipeToSupport$PipeableFuture$$anonfun$pipeTo$1.applyOrElse(PipeToSupport.scala:24)     at akka.pattern.PipeToSupport$PipeableFuture$$anonfun$pipeTo$1.applyOrElse(PipeToSupport.scala:23)     at scala.concurrent.Future.$anonfun$andThen$1(Future.scala:532)     at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:29)     at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:29)     at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)     at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63)     at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:100)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)     at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)     at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:100)     at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)     at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Caused by: org.apache.flink.runtime.JobException: Recovery is suppressed by NoRestartBackoffTimeStrategy     at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.handleFailure(ExecutionFailureHandler.java:138)     at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.getFailureHandlingResult(ExecutionFailureHandler.java:82)     at org.apache.flink.runtime.scheduler.DefaultScheduler.handleTaskFailure(DefaultScheduler.java:228)     at org.apache.flink.runtime.scheduler.DefaultScheduler.maybeHandleTaskFailure(DefaultScheduler.java:218)     at org.apache.flink.runtime.scheduler.DefaultScheduler.updateTaskExecutionStateInternal(DefaultScheduler.java:209)     at org.apache.flink.runtime.scheduler.SchedulerBase.updateTaskExecutionState(SchedulerBase.java:679)     at org.apache.flink.runtime.scheduler.SchedulerNG.updateTaskExecutionState(SchedulerNG.java:79)     at org.apache.flink.runtime.jobmaster.JobMaster.updateTaskExecutionState(JobMaster.java:444)     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.runtime.rpc.akka.AkkaRpcActor.lambda$handleRpcInvocation$1(AkkaRpcActor.java:316)     at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:83)     at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcInvocation(AkkaRpcActor.java:314)     at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:217)     at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:78)     at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:163)     at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24)     at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20)     at scala.PartialFunction.applyOrElse(PartialFunction.scala:123)     at scala.PartialFunction.applyOrElse$(PartialFunction.scala:122)     at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20)     at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)     at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172)     at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172)     at akka.actor.Actor.aroundReceive(Actor.scala:537)     at akka.actor.Actor.aroundReceive$(Actor.scala:535)     at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:220)     at akka.actor.ActorCell.receiveMessage(ActorCell.scala:580)     at akka.actor.ActorCell.invoke(ActorCell.scala:548)     at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)     at akka.dispatch.Mailbox.run(Mailbox.scala:231)     at akka.dispatch.Mailbox.exec(Mailbox.scala:243)     ... 4 more Caused by: org.apache.kafka.common.errors.TimeoutException: Timeout of 60000ms expired before the position for partition ProduceRecord-1 could be determined 62757 [flink-metrics-8] INFO  org.apache.flink.runtime.rpc.akka.AkkaRpcService  - Stopping Akka RPC service. 62757 [flink-metrics-8] INFO  org.apache.flink.runtime.rpc.akka.AkkaRpcService  - Stopped Akka RPC service. 62769 [flink-akka.actor.default-dispatcher-17] INFO  org.apache.flink.runtime.blob.PermanentBlobCache  - Shutting down BLOB cache 62770 [flink-akka.actor.default-dispatcher-17] INFO  org.apache.flink.runtime.blob.TransientBlobCache  - Shutting down BLOB cache 62771 [flink-akka.actor.default-dispatcher-17] INFO  org.apache.flink.runtime.blob.BlobServer  - Stopped BLOB server at 0.0.0.0:60112 62774 [flink-akka.actor.default-dispatcher-17] INFO  org.apache.flink.runtime.rpc.akka.AkkaRpcService  - Stopped Akka RPC service. Process finished with exit code 1

 

解决办法:

三 台都要改

最后,重启kafka 

删除分区 重新创建和采集

    广告一刻

    为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!