hdfs dfs -cat /testpath
cat: Call From master/172.30.0.10 to master:9000 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
cat: Call From master/172.30.0.10 to master:9000 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
阿里嘎多学长整理AIGC生成,因移动端显示问题导致当前答案未能完全显示,请使用PC端查看更加详细的解答过程
你遇到了HDFS客户端连接到NameNode失败的问题,错误信息是Call From master/172.30.0.10 to master:9000 failed on connection except。
可能的解决方案:
hdfs dfs -ls命令来检查HDFS集群的状态,如果出现其他错误信息,可以根据错误信息进行 troubleshooting。如果你使用的是VMware虚拟机,可以检查虚拟机的网络配置和防火墙设置,确保虚拟机可以正常地连接到NameNode。
如果你需要更多帮助,可以提供更多的错误信息和环境配置信息。