在配置文件是使用了localhost 或 127.0.0.1,此时应该改为真实的ID,包括core-site.xml,mapred-site.xml,slaves,使用命令行ifconfig查看你的系统真实Id。