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

ClassNotFoundException: o.a.f.r.j.t.JobSnapshottingSettings recovering job

    Details

      Description

      Running flink mesos on 1.3-release branch, I'm seeing the following error on appmaster startup:

      2017-05-22 15:32:45.946 [flink-akka.actor.default-dispatcher-17] WARN  o.a.flink.mesos.runtime.clusterframework.MesosJobManager  - Failed to recover job 088027410f1a628e7dfc59dc23df3ded.
      java.lang.Exception: Failed to retrieve the submitted job graph from state handle.
              at org.apache.flink.runtime.jobmanager.ZooKeeperSubmittedJobGraphStore.recoverJobGraph(ZooKeeperSubmittedJobGraphStore.java:186)
              at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(JobManager.scala:536)
              at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply(JobManager.scala:533)
              at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply(JobManager.scala:533)
              at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
              at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$1.apply$mcV$sp(JobManager.scala:533)
              at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$1.apply(JobManager.scala:529)
              at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$1.apply(JobManager.scala:529)
              at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
              at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
              at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
              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)
      Caused by: java.lang.ClassNotFoundException: org.apache.flink.runtime.jobgraph.tasks.JobSnapshottingSettings
              at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:348)
              at org.apache.flink.util.InstantiationUtil$ClassLoaderObjectInputStream.resolveClass(InstantiationUtil.java:64)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1826)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1713)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2000)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2245)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2169)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2027)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2245)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2169)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2027)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)
              at org.apache.flink.util.InstantiationUtil.deserializeObject(InstantiationUtil.java:305)
              at org.apache.flink.runtime.state.RetrievableStreamStateHandle.retrieveState(RetrievableStreamStateHandle.java:58)
              at org.apache.flink.runtime.jobmanager.ZooKeeperSubmittedJobGraphStore.recoverJobGraph(ZooKeeperSubmittedJobGraphStore.java:184)
              ... 15 common frames omitted
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                till.rohrmann Till Rohrmann
                Reporter:
                jstehler Jared Stehler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: