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