开发者社区> 问答> 正文

Failed to connect to server: :8032报错怎么处理?

spark-shell 报 WARN ipc.Client: Failed to connect to server: xxx/xxx.xxx.xx.xx:8032: retries get failed due to exceeded maximum allowed retries number: 0 java.net.ConnectException: Connection refused

CAUSE:

In Yarn configs -> custom yarn-site.xml, you might have configuration for rm1 as resource-manager-A. This is the reason first attempt to connect was made to this server and then got connection refused. Then it goes to active resource manager which is resource-manager-B. This warning is not seen when resource-manager-A is active, because the property rm1 pointing to this server, first connect attempt is successful. First connection attempt is always made to the resource manager which is specified in rm1.

展开
收起
可乐大侠 2021-10-25 17:54:18 1436 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
SQL Server 2017 立即下载
Glint:An Asynchronous Parameter Server for Spark 立即下载
PostgresChina2018_董红禹_SQL_Server迁移PG经验分享 立即下载