[英](Hadoop) mkdir: Call From NameNode/192.168.21.129 to NameNode:10001 failed on connection
When I try: 当我尝试:
hadoop fs -mkdir hdfs://HName:10001/data/testFolder
I get: 我得到:
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
Note that: -when JPS
I see all the services that should be on the name node, and on the data nodes I see all the services that should be there. 请注意:-当JPS
我会看到应该在名称节点上的所有服务,而在数据节点上,我会看到应该在该名称节点上的所有服务。 -I can ssh
from any node to itself and to any other node with no password. -我可以从任何节点到其自身以及没有密码的任何其他节点ssh
。 -I'm running Hadoop 2.7.3 on one name node and three data nodes -我在一个名称节点和三个数据节点上运行Hadoop 2.7.3
also when I try: 当我尝试时:
sudo netstat -ntap | grep 9000
I get: 我得到:
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
What could be the problem? 可能是什么问题呢? where to look? 在哪里看?
if the port which you connect is 9000 如果您连接的端口是9000
then replace 10001 with 9000 on the command 然后在命令上用9000替换10001
hadoop fs -mkdir hdfs://HName:9000/data/testFolder
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.