org.apache.spark.SparkException: Exception thrown in awaitResult

Stack Overflow | eric.frigot | 5 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 - Slave error while connecting to master (Unknown message type : -84)

    Stack Overflow | 5 months ago | eric.frigot
    org.apache.spark.SparkException: Exception thrown in awaitResult

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.IllegalArgumentException: Unknown message type: -84

      at org.apache.spark.network.shuffle.protocol.BlockTransferMessage$Decoder.fromByteBuffer()
    2. Spark Shuffle
      BlockTransferMessage$Decoder.fromByteBuffer
      1. org.apache.spark.network.shuffle.protocol.BlockTransferMessage$Decoder.fromByteBuffer(BlockTransferMessage.java:70)
      1 frame
    3. Spark
      NettyBlockRpcServer.receive
      1. org.apache.spark.network.netty.NettyBlockRpcServer.receive(NettyBlockRpcServer.scala:54)
      1 frame
    4. Spark
      TransportChannelHandler.channelRead0
      1. org.apache.spark.network.server.TransportRequestHandler.processRpcRequest(TransportRequestHandler.java:158)
      2. org.apache.spark.network.server.TransportRequestHandler.handle(TransportRequestHandler.java:106)
      3. org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:119)
      4. org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:51)
      4 frames
    5. 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
    6. Spark
      TransportFrameDecoder.channelRead
      1. org.apache.spark.network.util.TransportFrameDecoder.channelRead(TransportFrameDecoder.java:85)
      1 frame
    7. 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
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame