集群未知网络问题

在运行SparkStreaming程序时遇到频繁的网络错误,包括节点连接关闭、Slave丢失、executor丢失和RPC通信失败。尝试调整Spark参数如spark.core.connection.ack.wait.timeout等以增加网络等待时间,但未能完全解决问题。报错的根本原因可能是集群网络状况不佳。尽管如此,问题依然存在,导致NotLeaderForPartitionException。这通常是由客户端元数据过时导致,日志中出现的错误级别可能过高,建议调整为WARN。
摘要由CSDN通过智能技术生成

提交了一个SparkStreaming程序,经常出现如下的错误:

ERROR TransportResponseHandler: Still have 5 requests outstanding when connection from hadoop006/172.33.2.6:55862 is closed

WARN YarnSchedulerBackend$YarnSchedulerEndpoint: Attempted to get executor loss reason for executor id 12 at RPC address hadoop008:54388, but got no response. Marking as slave lost.
java.io.IOException: Connection from hadoop006/172.33.2.6:55862 closed

ERROR YarnScheduler: Lost executor 12 on hadoop008: Slave lost

ERROR TransportClient: Failed to send RPC 8179126089530426088 to hadoop006/172.33.2.6:55862: java.nio.channels.ClosedChannelException
java.nio.channels.ClosedChannelException

WARN YarnSchedulerBackend$YarnSchedulerEndpoint: Attempted to get executor loss reason for executor id 2 at RPC address hadoop004:49980, but got no response. Marking as slave lost.
java.io.IOException: Failed to send RPC 8179126089530426088 to hadoop006/172.33.2.6:55862: java.nio.channels.ClosedChannel
  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值