Cannot connect to the Map/Reduce location: ubuntu
Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException: Connection refused
一、关闭防火墙
ufw disable
二、把hadoop三个配置文件中涉及到的主机名全部改成ip地址,也即localhost(我这里是ubuntu)改成127.0.0.1