If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 {file location}"


Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.


A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.


Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 177#257666119
    via GitHub by clharris
  • How to integrate java and hive in ubuntu?
    via Stack Overflow by soniya Raj
    • java.lang.RuntimeException: Fail to construct messaging plugin from plugin backtype.storm.messaging.netty.Context at org.apache.storm.messaging.TransportFactory.makeContext([storm-core-1.0.1.jar:1.0.1] at org.apache.storm.daemon.worker$worker_data.invoke(worker.clj:266)[storm-core-1.0.1.jar:1.0.1] at org.apache.storm.daemon.worker$fn__8450$exec_fn__2461__auto__$[storm-core-1.0.1.jar:1.0.1] at Method)[?:1.8.0_101] at[?:1.8.0_101] at org.apache.storm.daemon.worker$fn__8450$exec_fn__2461__auto____8451.invoke(worker.clj:609)[storm-core-1.0.1.jar:1.0.1] at clojure.lang.AFn.applyToHelper([clojure-1.7.0.jar:?] at clojure.lang.AFn.applyTo([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__8450$mk_worker__8545.doInvoke(worker.clj:583)[storm-core-1.0.1.jar:1.0.1] at clojure.lang.RestFn.invoke([clojure-1.7.0.jar:?] at org.apache.storm.daemon.worker$_main.invoke(worker.clj:771)[storm-core-1.0.1.jar:1.0.1] at clojure.lang.AFn.applyToHelper([clojure-1.7.0.jar:?] at clojure.lang.AFn.applyTo([clojure-1.7.0.jar:?] at org.apache.storm.daemon.worker.main(Unknown Source)[storm-core-1.0.1.jar:1.0.1] Caused by: java.lang.ClassNotFoundException: backtype.storm.messaging.netty.Context at[?:1.8.0_101] at java.lang.ClassLoader.loadClass([?:1.8.0_101] at sun.misc.Launcher$AppClassLoader.loadClass([?:1.8.0_101] at java.lang.ClassLoader.loadClass([?:1.8.0_101] at java.lang.Class.forName0(Native Method)[?:1.8.0_101] at java.lang.Class.forName([?:1.8.0_101] at org.apache.storm.messaging.TransportFactory.makeContext([storm-core-1.0.1.jar:1.0.1] ... 14 more

    Users with the same issue

    2 times, last one,
    1 times, last one,
    2 times, last one,
    95 times, last one,
    2 times, last one,
    1579 more bugmates