Spark: Could not find CoarseGrainedScheduler

素颜马尾好姑娘i 2022-10-03 00:57 92阅读 0赞
  1. [shuffle-server-3] ERROR org.apache.spark.network.server.TransportRequestHandler - Error while invoking RpcHandler#receive() for one-way message.
  2. org.apache.spark.SparkException: Could not find CoarseGrainedScheduler.
  3. at org.apache.spark.rpc.netty.Dispatcher.postMessage(Dispatcher.scala:154)
  4. at org.apache.spark.rpc.netty.Dispatcher.postOneWayMessage(Dispatcher.scala:134)
  5. at org.apache.spark.rpc.netty.NettyRpcHandler.receive(NettyRpcEnv.scala:571)
  6. at org.apache.spark.network.server.TransportRequestHandler.processOneWayMessage(TransportRequestHandler.java:180)
  7. at org.apache.spark.network.server.TransportRequestHandler.handle(TransportRequestHandler.java:109)
  8. at org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:119)
  9. at org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:51)
  10. at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
  11. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
  12. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
  13. at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
  14. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
  15. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
  16. at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
  17. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
  18. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
  19. at org.apache.spark.network.util.TransportFrameDecoder.channelRead(TransportFrameDecoder.java:85)
  20. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
  21. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
  22. at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
  23. at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
  24. at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
  25. at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
  26. at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
  27. at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
  28. at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEve

  It could be a resource problem. Try to increase the number of cores and executor and also to assign more RAM to the application then you should increase the partition number of your RDD by calling a repartition. The ideal number of partitions depends on previous settings. Hope this helps.

说明:程序中用到repartition前后不一致导致这个问题

1174822-20170629151124946-1506932292.png

问题:

ERROR scheduler.LiveListenerBus: SparkListenerBus has already stopped! Dropping event SparkListenerExecutorMetricsUpdate(1,WrappedArray())

因为spark没有关闭导致

1174822-20170629151342336-178308730.png

转载于:https://www.cnblogs.com/xiaoma0529/p/7094591.html

发表评论

表情:
评论列表 (有 0 条评论,92人围观)

还没有评论,来说两句吧...

相关阅读