Client.RMProxy注意端口号
如果是8032,很可能是你的yarn没有启动。
17/11/27 14:08:50 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
17/11/27 14:08:51 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/11/27 14:08:52 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
解决方案:
start-yarn.sh
如果是10020可能是hadoop的historyserver服务没有启动。
解决方案:启动historyserver:
mr-jobhistory-daemon.sh start historyserver
YARN与HistoryServer启动问题
本文解决Hadoop中YARN未启动导致的Client.RMProxy连接端口8032失败问题,以及Hadoop历史服务器(HistoryServer)未启动导致的端口10020连接失败问题。提供了start-yarn.sh启动YARN服务和mr-jobhistory-daemon.sh starthistoryserver启动历史服务器的具体步骤。
397

被折叠的 条评论
为什么被折叠?



