hadoop报错ConnectionRefused
执行hadoop fs -ls时 报错:ls: Call From SERVER226/10.0.0.226 to SERVER226:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:http://wiki.apache.org/ha
·
执行hadoop fs -ls时 报错:
ls: Call From SERVER226/10.0.0.226 to SERVER226:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
感谢:
https://segmentfault.com/q/1010000005689441
将fs.defaultFS端口和rpc-address端口改成一致就可以了
改成一致后,再次执行:
ls: Operation category READ is not supported in state standby
解决方法:
重新hdfs zkfc –formatZK
参考:
http://blog.csdn.net/ZHAOLEI5911/article/details/51493637
更多推荐
所有评论(0)