/etc/hosts中自己的主机写的是127.0.0.1. 实际上不能这样写.还是应该写自己的ip地址
127.0.0.1 server136
192.168.60.136 server136

网文转载

1,关闭防火墙,不同版本centos命令不同
2,如果你和我一样配置hostname而不是ip+端口。

yarn-site.xml
<configuration>
 <property>
    <name>yarn.resourcemanager.hostname</name>
    <value>server71</value>
 </property>
    <property>
    <name>yarn.nodemanager.aux-services</name>
    <value>mapreduce_shuffle</value>
 </property>
</configuration>

如上配置请检查下面三个配置文件
/etc/hosts
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network

hostname命令查看自己主机名是否和你自己的匹配
3,查看端口是否被其他软件占用。如果你的系统是干净的系统,就是为了hadoop才搞的镜像。这个可能很小,请看前面两个原因,尤其是第二个。

参考链接

https://blog.csdn.net/kouryoushine/article/details/78401976
https://www.cnblogs.com/qifengle-2446/p/6424365.html

相关文章:

  • 2022-12-23
  • 2021-09-27
  • 2021-07-05
  • 2021-05-19
  • 2022-01-19
  • 2021-08-23
  • 2021-05-23
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2022-02-01
  • 2021-10-09
  • 2021-11-04
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案