赞
踩
一、修改文件 /etc/selinux/config ,把 SELINUX=enforcing 改为 SELINUX=disabled
vi /etc/selinux/config
SELINUX=disabled
二、查看你的 $HADOOP_HOME/etc/hadoop 下的 core-site.xml 和 hdfs-site.xml 是否配置好
三、必须在 hadoop-env.sh 文件中设置 Java 的绝对路径
四、是否关闭linux系统的防火墙
[root@djt002 ~]# service iptables status
[root@djt002 ~]# chkconfig iptables off
//永久关闭防火墙
[root@djt002 ~]# service iptables stop //临时关闭防火墙
[root@djt002 ~]# service iptables status
iptables: Firewall is not running.
//查看防火墙状态
五、查看你windows里本地的配置文件的IP和主机名映射关系 c:/windows/system32/drivers/etc/hosts
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。