我们正在使用wget
VIA 端口测试从到的8088
连接ResourceManager02
ResourceManager01
- 两个资源管理器都是 YARN 服务的一部分,并且每个资源管理器服务都安装在 RHEL 7.9 版本上
如下所示
wget http://ResourceManager01.ggtp:8088
--2023-02-22 16:55:36-- http://ResourceManager01.ggtp:8088/
Resolving ResourceManager01.ggtp (ResourceManager01.ggtp)... 182.55.190.78
Connecting to ResourceManager01.ggtp (ResourceManager01.ggtp)|182.55.190.78|:8088... connected.
HTTP request sent, awaiting response... 307 TEMPORARY_REDIRECT
Location: http://ResourceManager01.ggtp:8088/ [following]
--2023-02-22 16:55:36-- http://ResourceManager01.ggtp:8088/
Resolving ResourceManager01.ggtp (ResourceManager01.ggtp)... 182.55.190.85
Connecting to ResourceManager01.ggtp (ResourceManager01.ggtp)|182.55.190.85|:8088... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ResourceManager01.ggtp:8088/cluster [following]
--2023-02-22 16:57:49-- http://ResourceManager01.ggtp:8088/cluster
Reusing existing connection to ResourceManager01.ggtp:8088.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
[ <=> ] 5,343,472 --.-K/s in 0.1s
2023-02-22 16:58:43 (40.0 MB/s) - ‘index.html’ saved [5343472]
You have new mail in /var/spool/mail/root
正如我们上面看到的,我们有错误 HTTP request sent, awaiting response... 302 Found
实际上连接需要 2-3 分钟而不是 1 秒
是否有可能调试这种行为,为什么wget
没有达到与机器的连接ResourceManager01
?
我们进行这个测试是因为我们在二级资源管理器ResourceManager02
和主资源管理器之间的连接上遇到了问题 - ResourceManager01
,
两个资源管理器都是 Hadoop 集群的一部分(HDP 2.6.5 版本)
我们从 Ambari UI 收到以下警报
Connection failed to http://ResourceManager01.ggtp:8088 (timed out)