java.lang.VerifyError

tip

This seems to be a buggy behavior, to solve it, first try permuting the order of your spark and hadoop dependencies. If that doesn't work, try updating akka and checking if the versions of the libraries you're using are compatible.

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

  • Apache Spark wrong akka-remote netty version
    via Stack Overflow by crak
    ,
  • GitHub comment 133#139944516
    via GitHub by lbustelo
    ,
  • No title
    via by Unknown author,
    • java.lang.VerifyError: (class: org/jboss
    • etty/channel/socket
    • io/NioWorkerPool, method: createWorker signature: (Ljava/util/concurrent/Executor;)Lorg/jboss
    • etty/channel/socket
    • io/AbstractNioWorker;) Wrong return type in function at akka.remote.transport.netty.NettyTransport.<init>(NettyTransport.scala:283)[akka-remote_2.11-2.3.4-spark.jar:na] at akka.remote.transport.netty.NettyTransport.<init>(NettyTransport.scala:240)[akka-remote_2.11-2.3.4-spark.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[na:1.8.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.8.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:422)[na:1.8.0_45] at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$2.apply(DynamicAccess.scala:78)[akka-actor_2.11-2.3.4-spark.jar:na] at scala.util.Try$.apply(Try.scala:192)[scala-library-2.11.7.jar:0.13.8] at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:73)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:84)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:84)[akka-actor_2.11-2.3.4-spark.jar:na] at scala.util.Success.flatMap(Try.scala:231)[scala-library-2.11.7.jar:0.13.8] at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:84)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:692)[akka-remote_2.11-2.3.4-spark.jar:na] at akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:684)[akka-remote_2.11-2.3.4-spark.jar:na] at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)[scala-library-2.11.7.jar:0.13.8] at scala.collection.Iterator$class.foreach(Iterator.scala:742)[scala-library-2.11.7.jar:0.13.8] at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)[scala-library-2.11.7.jar:0.13.8] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)[scala-library-2.11.7.jar:0.13.8] at scala.collection.AbstractIterable.foreach(Iterable.scala:54)[scala-library-2.11.7.jar:0.13.8] at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)[scala-library-2.11.7.jar:0.13.8] at akka.remote.EndpointManager.akka$remote$EndpointManager$$listens(Remoting.scala:684)[akka-remote_2.11-2.3.4-spark.jar:na] at akka.remote.EndpointManager$$anonfun$receive$2.applyOrElse(Remoting.scala:492)[akka-remote_2.11-2.3.4-spark.jar:na] at akka.actor.Actor$class.aroundReceive(Actor.scala:465)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.remote.EndpointManager.aroundReceive(Remoting.scala:395)[akka-remote_2.11-2.3.4-spark.jar:na] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.actor.ActorCell.invoke(ActorCell.scala:487)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.dispatch.Mailbox.run(Mailbox.scala:220)[akka-actor_2.11-2.3.4-spark.jar:na] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)[akka-actor_2.11-2.3.4-spark.jar:na]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates