解决思路: 1.首先用主机ping下虚拟机IP,看是否能ping通 2.如果ping不通就看虚拟机防火墙是否开启,service iptables status [root@mysql ~]# service iptables statusiptables: Firewall is not running. 上图提示,防火墙才是关闭状态,如果不是上面提示,就执行命令 service iptables stop(临时关闭防火墙) chkconfig iptables off(永久关闭防火墙) 3.…
场景: 预发环境中,同事已经搭建了一套hadoop集群,由于版本与所需不符,所以需要替换版本 问题描述: 在配置文件都准确的情况下,启动hadoop,出现以下报错: 启动之前初始化: 初始化目录跟配置文件目录不一致 hdfs namenode -format [root@hdoop2 hadoop-2.8.5]# hadoop dfs -ls /DEPRECATED: Use of this script to execute hdfs command is deprecated.Ins…