That looks confusing, usability-wise.

  *   A related question is how can I see the parameters with which a datanode 
was launched in order to check these values


You can navigate to the conf servlet of the DataNode web UI e.g. 
http://w.x.y.z:50075/conf

From: Alvaro Brandon <[email protected]>
Date: Thursday, November 30, 2017 at 5:33 AM
To: "[email protected]" <[email protected]>
Subject: Parameter repeated twice in hdfs-site.xml

What will happen if I have a repeated parameter in the configuration file for 
HDFS?. You can see here an example of a file where the parameters in bold are 
repeated with contradictory values: right and false.
I need to know because I'm using a Docker image that builds the configuration 
file this way, through environmental variables and I want to know if it will 
create any conflicts. A related question is how can I see the parameters with 
which a datanode was launched in order to check these values

<configuration>

<property><name>dfs.datanode.use.datanode.hostname</name><value>false</value></property>
<property><name>dfs.datanode.use.datanode.ip.hostname</name><value>false</value></property>
<property><name>dfs.namenode.datanode.registration.ip-hostname-check</name><value>false</value></property>
<property><name>dfs.datanode.data.dir</name><value>file:///hadoop/dfs/data</value></property>
<property><name>dfs.client.use.datanode.hostname</name><value>false</value></property>
<property><name>dfs.namenode.rpc-bind-host</name><value>0.0.0.0</value></property>
<property><name>dfs.namenode.servicerpc-bind-host</name><value>0.0.0.0</value></property>
<property><name>dfs.namenode.http-bind-host</name><value>0.0.0.0</value></property>
<property><name>dfs.namenode.https-bind-host</name><value>0.0.0.0</value></property>
<property><name>dfs.client.use.datanode.hostname</name><value>true</value></property>
<property><name>dfs.datanode.use.datanode.hostname</name><value>true</value></property>
</configuration>



Reply via email to