flink 1.11.2运行时出错

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

flink 1.11.2运行时出错

曹武
flink on yarn 模式,任务在yarn中跑了两天后出错,错误信息如下:
org.apache.flink.util.FlinkException: JobManager responsible for
fa0e8f776be3b5cd6573e1922da67c1f lost the leadership.
        at
org.apache.flink.runtime.taskexecutor.TaskExecutor.disconnectJobManagerConnection(TaskExecutor.java:1415)
[DataHub-2.0-SNAPSHOT.jar:na]
        at
org.apache.flink.runtime.taskexecutor.TaskExecutor.access$1300(TaskExecutor.java:173)
[DataHub-2.0-SNAPSHOT.jar:na]
        at
org.apache.flink.runtime.taskexecutor.TaskExecutor$JobLeaderListenerImpl.lambda$null$2(TaskExecutor.java:1852)
[DataHub-2.0-SNAPSHOT.jar:na]
        at java.util.Optional.ifPresent(Optional.java:159) ~[na:1.8.0_181]
        at
org.apache.flink.runtime.taskexecutor.TaskExecutor$JobLeaderListenerImpl.lambda$jobManagerLostLeadership$3(TaskExecutor.java:1851)
[DataHub-2.0-SNAPSHOT.jar:na]
        at
org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRunAsync(AkkaRpcActor.java:402)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at
org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:195)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at
org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:152)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:225)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:592)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.actor.ActorCell.invoke(ActorCell.scala:561)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.dispatch.Mailbox.run(Mailbox.scala:225)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.dispatch.Mailbox.exec(Mailbox.scala:235)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at
akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
~[DataHub-2.0-SNAPSHOT.jar:na]
        at
akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
~[DataHub-2.0-SNAPSHOT.jar:na]
Caused by: java.lang.Exception: Job leader for job id
fa0e8f776be3b5cd6573e1922da67c1f lost leadership.
        ... 24 common frames omitted





--
Sent from: http://apache-flink.147419.n8.nabble.com/