Yarn Connecting to ResourceManager
程序员文章站
2022-07-15 12:55:12
...
18/04/27 09:09:58 INFO RMProxy: Connecting to ResourceManager at cn-bji-p-dmp02/10.86.210.12:8050
18/04/27 09:09:59 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:00 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:01 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:02 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:09:58 INFO RMProxy: Connecting to ResourceManager at cn-bji-p-dmp02/10.86.210.12:8050
18/04/27 09:09:59 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:00 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:01 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:02 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
查看cn-bji-p-dmp02服务器8050端口,发现此端口不通。
查看yarn-site.xml配置:
发现
<property>
<name>yarn.resourcemanager.address</name>
<value>cn-bji-p-dmp02:8050</value>
</property>
<property>
<name>yarn.resourcemanager.admin.address</name>
<value>cn-bji-p-dmp02:8033</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>cn-bji-p-dmp02:8030</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>cn-bji-p-dmp02:8041</value>
</property>
可能
yarn.resourcemanager.address
是由
yarn.resourcemanager.scheduler.address
的端口自动生成的。
修改成
<property>
<name>yarn.resourcemanager.address</name>
<value>cn-bji-p-dmp02:8032</value>
</property>
<property>
<name>yarn.resourcemanager.admin.address</name>
<value>cn-bji-p-dmp02:8033</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>cn-bji-p-dmp02:8030</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>cn-bji-p-dmp02:8031</value>
</property>
推荐阅读
-
剖析阿里巴巴的云梯YARN集群技术使用
-
第7章 YARN HA配置
-
MapReduce与Yarn 的详细工作流程分析
-
Hadoop伪分布式部署之yarn和mapreduce
-
spark利用yarn提交任务报:YARN application has exited unexpectedly with state UNDEFINED
-
ResourceManager学习之ApplicationMaster,NodeManager管理
-
yarn 命令
-
利用yarn代替npm管理前端项目模块依赖的方法详解
-
yarn的使用与升级Node.js的方法详解
-
mac下yarn安装vue-socket.io/node-gyp出现uws且卡住的问题解决办法