java.lang.RuntimeException: java.io.InvalidClassException: org.apache.spark.rpc.netty.RequestMessage; local class incompatible: stream classdesc serialVersionUID = -5447855329526097695, local class serialVersionUID = -2221986757032131007

Stack Overflow | Mnemosyne | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spark Job fails due to java.io.InvalidClassException: org.apache.spark.rpc.netty.RequestMessage

    Stack Overflow | 7 months ago | Mnemosyne
    java.lang.RuntimeException: java.io.InvalidClassException: org.apache.spark.rpc.netty.RequestMessage; local class incompatible: stream classdesc serialVersionUID = -5447855329526097695, local class serialVersionUID = -2221986757032131007
  2. 0

    unable to set SPARK_MASTER_HOST to public ip in AWS while running on a stand alone mode?

    Stack Overflow | 7 months ago | user1870400
    org.apache.spark.SparkException: Exception thrown in awaitResult
  3. 0

    JavaSparkStreaming | Exception thrown in awaitResult

    Stack Overflow | 5 months ago | srikanth
    org.apache.spark.SparkException: Exception thrown in awaitResult
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.io.InvalidClassException: org.apache.spark.rpc.netty.RequestMessage; local class incompatible: stream classdesc serialVersionUID = -5447855329526097695, local class serialVersionUID = -2221986757032131007

      at java.io.ObjectStreamClass.initNonProxy()
    2. Java RT
      ObjectInputStream.readObject
      1. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:616)
      2. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1630)
      3. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
      4. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781)
      5. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
      6. java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
      6 frames
    3. Spark
      JavaSerializerInstance.deserialize
      1. org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:76)
      2. org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:109)
      2 frames
    4. org.apache.spark
      NettyRpcEnv$$anonfun$deserialize$1$$anonfun$apply$1.apply
      1. org.apache.spark.rpc.netty.NettyRpcEnv$$anonfun$deserialize$1$$anonfun$apply$1.apply(NettyRpcEnv.scala:258)
      1 frame
    5. Scala
      DynamicVariable.withValue
      1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
      1 frame
    6. org.apache.spark
      NettyRpcEnv$$anonfun$deserialize$1.apply
      1. org.apache.spark.rpc.netty.NettyRpcEnv.deserialize(NettyRpcEnv.scala:310)
      2. org.apache.spark.rpc.netty.NettyRpcEnv$$anonfun$deserialize$1.apply(NettyRpcEnv.scala:257)
      2 frames
    7. Scala
      DynamicVariable.withValue
      1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
      1 frame
    8. org.apache.spark
      NettyRpcHandler.receive
      1. org.apache.spark.rpc.netty.NettyRpcEnv.deserialize(NettyRpcEnv.scala:256)
      2. org.apache.spark.rpc.netty.NettyRpcHandler.internalReceive(NettyRpcEnv.scala:588)
      3. org.apache.spark.rpc.netty.NettyRpcHandler.receive(NettyRpcEnv.scala:570)
      3 frames
    9. Spark
      TransportChannelHandler.channelRead0
      1. org.apache.spark.network.server.TransportRequestHandler.processRpcRequest(TransportRequestHandler.java:149)
      2. org.apache.spark.network.server.TransportRequestHandler.handle(TransportRequestHandler.java:102)
      3. org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:104)
      4. org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:51)
      4 frames
    10. Netty
      AbstractChannelHandlerContext.fireChannelRead
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      4. io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
      5. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      6. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      7. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
      8. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      9. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      9 frames
    11. Spark
      TransportFrameDecoder.channelRead
      1. org.apache.spark.network.util.TransportFrameDecoder.channelRead(TransportFrameDecoder.java:86)
      1 frame
    12. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      2. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      3. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
      4. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
      5. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
      6. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
      7. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
      8. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
      9. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
      9 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame
    14. Spark
      TransportChannelHandler.channelRead0
      1. org.apache.spark.network.client.TransportResponseHandler.handle(TransportResponseHandler.java:186)
      2. org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:106)
      3. org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:51)
      3 frames
    15. Netty
      MessageToMessageDecoder.channelRead
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
      4. io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
      5. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
      6. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
      7. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
      7 frames