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

标题: 解决:java.net.NoRouteToHostException: 没有到主机的路由 [打印本页]

作者: mahan    时间: 2024-5-17 16:20
标题: 解决:java.net.NoRouteToHostException: 没有到主机的路由
解决: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
登录/注册后可看大图