YARN + 如何調試 wget

YARN + 如何調試 wget

我們正在使用wgetVIA 連接埠測試從到 的8088連接ResourceManager02ResourceManager01

  • 兩個資源管理器都是 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) 

相關內容