java - (Hadoop) mkdir: Call From NameNode/192.168.21.129 to NameNode:10001 failed on connection -


when try:

hadoop fs -mkdir hdfs://hname:10001/data/testfolder 

i get:

mkdir: call hname/192.168.21.129 hname:10001 failed on connection except ion: java.net.connectexception: connection refused; more details see:  http://wiki.apache.org/hadoop/connectionrefused 

note that: -when jps see services should on name node, , on data nodes see services should there. -i can ssh node , other node no password. -i'm running hadoop 2.7.3 on 1 name node , 3 data nodes

also when 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 problem? look?

if port connect 9000

then replace 10001 9000 on command

hadoop fs -mkdir hdfs://hname:9000/data/testfolder 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -