hadoop localhost 9000 connection refused:
telnet localhost 9000
netstat -lpten | grep 9000
return something:
Finally the reason:
core-site.xml:
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>/usr/local/bin/hadoop-2.7.1/tmp</value>
</property>
</configuration>
1. Lack of closed </configuration> tap.
2. the tmp directory didn’t exist
Summary:
1. Check network.
2. Check hadoop configuration (hadoop-env.xml/core-site.xml/hdfs-site.xml/mapred-site.xml.tmplate)
3. Always close hadoop services, or will aways get swap file.
No comments:
Post a Comment