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

Getting error while submitting job

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.2
    • Fix Version/s: None
    • Component/s: Command Line Client
    • Labels:
      None
    • Environment:

      Production

      Description

      Getting below error while submitting java program to flink runner. Any help would be greatly appreciated.

       

       

      [INFO] — exec-maven-plugin:1.4.0:java (default-cli) @ cap_scoring —
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      Submitting job with JobID: ae56656f79644d4c181395b9322d9dc0. Waiting for job completion.
      [WARNING]
      java.lang.reflect.InvocationTargetException
      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.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.RuntimeException: Pipeline execution failed
      at org.apache.beam.runners.flink.FlinkRunner.run(FlinkRunner.java:121)
      at org.apache.beam.sdk.Pipeline.run(Pipeline.java:297)
      at org.apache.beam.sdk.Pipeline.run(Pipeline.java:283)
      at com.att.streams.tdata.cap_scoring.CapInjestAndScore.main(CapInjestAndScore.java:410)
      ... 6 more
      Caused by: 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:478)
      at org.apache.flink.client.program.StandaloneClusterClient.submitJob(StandaloneClusterClient.java:105)
      at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:442)
      at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:429)
      at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:404)
      at org.apache.flink.client.RemoteExecutor.executePlanWithJars(RemoteExecutor.java:211)
      at org.apache.flink.client.RemoteExecutor.executePlan(RemoteExecutor.java:188)
      at org.apache.flink.api.java.RemoteEnvironment.execute(RemoteEnvironment.java:172)
      at org.apache.beam.runners.flink.FlinkPipelineExecutionEnvironment.executePipeline(FlinkPipelineExecutionEnvironment.java:114)
      at org.apache.beam.runners.flink.FlinkRunner.run(FlinkRunner.java:118)
      ... 9 more
      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:309)
      at org.apache.flink.runtime.client.JobClient.submitJobAndWait(JobClient.java:396)
      at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:467)
      ... 18 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:101)
      at org.apache.flink.runtime.akka.FlinkUntypedActor.onReceive(FlinkUntypedActor.java:68)
      at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
      at akka.actor.Actor$class.aroundReceive(Actor.scala:467)
      at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
      at akka.actor.ActorCell.invoke(ActorCell.scala:487)
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
      at akka.dispatch.Mailbox.run(Mailbox.scala:220)
      at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
      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)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:03 min
      [INFO] Finished at: 2019-03-13T15:03:55Z
      [INFO] Final Memory: 32M/2099M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project cap_scoring: An exception occured while executing the Java class. null: InvocationTargetException: Pipeline execution failed: The program execution failed: Couldn't retrieve the JobExecutionResult from the JobManager. Lost connection to the JobManager. -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Rameshpgs@gmail.com Ramesh Srinivasalu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified