
우리는 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
실제로 연결에는 1초가 아닌 2~3분이 소요됩니다.
이 동작을 디버깅하는 것이 가능합니까? 그런데 왜 wget
컴퓨터에 연결되지 않습니까 ResourceManager01
?
ResourceManager02
보조 리소스 관리자와 기본 리소스 관리자 간의 연결에 문제가 있기 때문에 이 테스트를 수행합니다 ResourceManager01
.
두 리소스 관리자는 모두 Hadoop 클러스터(HDP 2.6.5 버전)의 일부입니다.
Ambari UI에서 다음과 같은 경고가 표시됩니다.
Connection failed to http://ResourceManager01.ggtp:8088 (timed out)