hadoop问题:java.net.ConnectException

Call From AS-5/192.168.1.54 to AS-5:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused



解决方法:

查看本机的hostname
查看/etc/hosts :ip地址与hostname是否对应

在hadoop_home/sbin目录下:start-dfs.sh

start-yarn.sh

使用ssh也要免密码登陆自己的机子(切记)

猜你喜欢

转载自blog.csdn.net/eat_shopping/article/details/78088957
今日推荐