Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32382

SQL JDBC e2e test failed with FlinkJobNotFoundException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      I ran into a test instability in this CI build while working on FLINK-32180 (leader election refactoring). The e2e test Sql Jdbc Driver end-to-end test failed with a FlinkJobNotFoundException:

      org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find Flink job (095927e6f6ef3684f3a1ae13e5451184)
              at org.apache.flink.runtime.dispatcher.Dispatcher.getJobMasterGateway(Dispatcher.java:1450) ~[flink-dist-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              at org.apache.flink.runtime.dispatcher.Dispatcher.performOperationOnJobMasterGateway(Dispatcher.java:1465) ~[flink-dist-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              at org.apache.flink.runtime.dispatcher.Dispatcher.deliverCoordinationRequestToCoordinator(Dispatcher.java:1088) ~[flink-dist-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_372]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_372]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_372]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_372]
              at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.lambda$handleRpcInvocation$1(AkkaRpcActor.java:309) ~[?:?]
              at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:83) ~[?:?]
              at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcInvocation(AkkaRpcActor.java:307) ~[?:?]
              at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:222) ~[?:?]
              at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:84) ~[?:?]
              at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:168) ~[?:?]
              at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) ~[?:?]
              at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) ~[?:?]
              at scala.PartialFunction.applyOrElse(PartialFunction.scala:127) ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              at scala.PartialFunction.applyOrElse$(PartialFunction.scala:126) ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) ~[?:?]
              at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:175) ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176) ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176) ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
              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:579) ~[?:?]
              at akka.actor.ActorCell.invoke(ActorCell.scala:547) ~[?:?]
              at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) ~[?:?]
              at akka.dispatch.Mailbox.run(Mailbox.scala:231) ~[?:?]
              at akka.dispatch.Mailbox.exec(Mailbox.scala:243) ~[?:?]
              at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_372]
              at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_372]
              at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_372]
              at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) [?:1.8.0_372]
      

      I cannot rule out that it's an issue being caused by the FLINK-32180 refactoring. But I didn't find any hints in the logs. Fang Yong may you have a look at this one as well?

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mapohl Matthias Pohl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment