重庆思庄Oracle、、PostgreSQL、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1238|回复: 0

[网络管理] 解决:java.net.NoRouteToHostException: 没有到主机的路由

[复制链接]
发表于 2024-5-17 16:20:02 | 显示全部楼层 |阅读模式
解决:java.net.NoRouteToHostException: 没有到主机的路由

在执行spark程序的jar包时,出现下面问题

2022-05-26 08:54:06,392 INFO retry.RetryInvocationHandler: java.net.NoRouteToHostException: No Route to Host from  spark1/192.168.40.30 to spark2:8032 failed on socket timeout exception: java.net.NoRouteToHostException: 没有到主机的路由; For more details see:  http://wiki.apache.org/hadoop/NoRouteToHost, while invoking ApplicationClientProtocolPBClientImpl.getClusterMetrics over null after 13 failover attempts. Trying to failover after sleeping for 38541ms.

查看: http://wiki.apache.org/hadoop/NoRouteToHost中,提示如下

19874664713179c3df.png

78266647132890aa3.png

可以根据上面查找问题

我出现java.net.NoRouteToHostException: 没有到主机的路由是虚拟机之间的防火墙没有关闭

systemctl stop firewalld
systemctl disable firewalld.service


查看防火墙状态

systemctl status firewalld


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2025-4-22 10:54 , Processed in 0.099516 second(s), 24 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表