(Hadoop) mkdir: Call From NameNode/192.168.21.129 to NameNod



当我尝试:

hadoop fs -mkdir hdfs://HName:10001/data/testFolder

:

mkdir: Call From HName/192.168.21.129 to HName:10001 failed on connection except
ion: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

注意:-当JPS时,我看到所有应该在名称节点上的服务,在数据节点上,我看到所有应该在那里的服务。-I可以在没有密码的情况下将ssh从任何节点发送到自身和任何其他节点。在一个名称节点和三个数据节点上运行Hadoop 2.7.3

也当我尝试:

sudo netstat -ntap | grep 9000

:

tcp        0      0 192.168.21.129:9000     0.0.0.0:*               LISTEN      2104/java       
tcp        0      0 192.168.21.129:9000     192.168.21.133:36116    ESTABLISHED 2104/java       
tcp        0      0 192.168.21.129:55052    192.168.21.129:9000     TIME_WAIT   -               
tcp        0      0 192.168.21.129:9000     192.168.21.132:36236    ESTABLISHED 2104/java       
tcp        0      0 192.168.21.129:9000     192.168.21.130:60798    ESTABLISHED 2104/java

有什么问题吗?去哪里找?

如果您连接的端口是9000

然后在命令

中将10001替换为9000
hadoop fs -mkdir hdfs://HName:9000/data/testFolder

相关内容

  • 没有找到相关文章

最新更新