Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1665

Worker cannot instantiate kryo

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: storm-core
    • Labels:
      None

      Description

      java.lang.NoClassDefFoundError: org/objenesis/strategy/InstantiatorStrategy
              at org.apache.storm.serialization.DefaultKryoFactory.getKryo(DefaultKryoFactory.java:47) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.serialization.SerializationFactory.getKryo(SerializationFactory.java:51) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.serialization.KryoValuesSerializer.<init>(KryoValuesSerializer.java:33) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.messaging.netty.Server.<init>(Server.java:71) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.messaging.netty.Context.bind(Context.java:67) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.daemon.worker$worker_data$fn__1953.invoke(worker.clj:280) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.util$assoc_apply_self.invoke(util.clj:201) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.daemon.worker$worker_data.invoke(worker.clj:277) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at org.apache.storm.daemon.worker$fn__2256$exec_fn__784__auto__$reify__2258.run(worker.clj:652) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0]
              at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0]
              at org.apache.storm.daemon.worker$fn__2256$exec_fn__784__auto____2257.invoke(worker.clj:650) ~[storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at clojure.lang.AFn.applyToHelper(AFn.java:178) ~[clojure-1.7.0.jar:?]
              at clojure.lang.AFn.applyTo(AFn.java:144) ~[clojure-1.7.0.jar:?]
              at clojure.core$apply.invoke(core.clj:630) ~[clojure-1.7.0.jar:?]
              at org.apache.storm.daemon.worker$fn__2256$mk_worker__2353.doInvoke(worker.clj:624) [storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at clojure.lang.RestFn.invoke(RestFn.java:512) [clojure-1.7.0.jar:?]
              at org.apache.storm.daemon.worker$_main.invoke(worker.clj:821) [storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
              at clojure.lang.AFn.applyToHelper(AFn.java:165) [clojure-1.7.0.jar:?]
              at clojure.lang.AFn.applyTo(AFn.java:144) [clojure-1.7.0.jar:?]
              at org.apache.storm.daemon.worker.main(Unknown Source) [storm-core-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
      Caused by: java.lang.ClassNotFoundException: org.objenesis.strategy.InstantiatorStrategy
              at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[?:1.8.0]
              at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0]
              at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0]
              at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0]
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[?:1.8.0]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0]
              ... 21 more
      

        Attachments

          Activity

            People

            • Assignee:
              revans2 Robert Joseph Evans
              Reporter:
              revans2 Robert Joseph Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: