How can I set the IP address that Hadoop HDFS should listen on? Currently, when I run netstat
I see its on 127.0.0.1:9000
. This makes access HDFS impossible from another node in the cluster. I get connection refused error
when running application.
I want it to appear as my-machine-name:9000
instead of 127.0.0.1:9000
. My core-site.xml
file is
<property>
<name>fs.defaultFS</name>
<value>my-machine-name:9000/</value>
</property>