我是靠谱客的博主 高贵牛排,这篇文章主要介绍【Spark】Spark常见错误,现在分享给大家,希望可以做个参考。

1、报错 ERROR TaskSchedulerImpl: Lost executor 3 on 172.16.0.24: Unable to create executor due to Unable to register with external shuffle server due to : Failed to connect to /172.16.0.24:7337

在spark-defaults.conf文件中添加:

spark.shuffle.service.enabled
true

2、spark-submit后运行程序连接不上子节点

java.net.ConnectException: Connectionrefused

INFOzookeeper.ClientCnxn: Opening socket connection to serverlocalhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknownerror)
估计是用到了Hbase:

将Hbase目录中conf下hbase-site.xml拷贝到spark的conf目录下

最后

以上就是高贵牛排最近收集整理的关于【Spark】Spark常见错误的全部内容,更多相关【Spark】Spark常见错误内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(133)

评论列表共有 0 条评论

立即
投稿
返回
顶部