Hi ,

I have a server with multiple dns bound to it. I have setup single node
hadoop cluster (3.1.2 release) on my server and i want to use particular
hostname for my hadoop server.

I am able to start namenode and secondary namenode on specific DNS address
but i am not able to do the same for datanode. Here is what i tried in
hdfs-site.xml file as per documentation
<property>
 <name>dfs.datanode.http.address</name>
 <value>myhostname:9864</value>
</property>

<property>
  <name>dfs.datanode.address</name>
    <value>myhostname:9866</value>
</property>

<property>
        <name>dfs.datanode.ipc.address</name>
        <value>myhostname:9867</value>
</property>

But above configuration doesn't work. The namenode UI still show the a
different hostname for datanode http address. I can see specific propertiy
for namenode and secondary namenode(dfs.namenode.http-address) which sets
the host to bind. But there is none for datanode.

Any idea how to change bind host for datanode?

-- 

*Regards*
*Om Prakash*

Reply via email to