执行wc的时候提示连接被拒绝。Connection refused
java.net.ConnectException: Call From hadoop001/172.16.202.233 to hadoop001:9000 failed on connection exception: java.net.ConnectException: Connection refused;
最后发现是namenode没有起来,后来重新启动namenode还是不行,阅读日志发现是没有执行格式化。执行格式化以后重新启动namenode。重新启动namenode请查看https://www.cnblogs.com/xuziyu/p/10391690.html