执行hadoop fsck  -files -blocks时 报以下错误信息。

Hadoop Connection Refused Error

Solution:

出现该错误,基本上是因为不能连接Namenode,或者是Namenode没有成功运行亦或者是运行在其它端口之上。