This commit is contained in:
Nikita Taranov 2023-05-02 22:07:30 +00:00
parent 98a88bef7a
commit f43e916d42

View File

@ -111,6 +111,23 @@ cat > /usr/local/hadoop/etc/hadoop/hdfs-site.xml << EOF
<name>dfs.datanode.http.address</name> <name>dfs.datanode.http.address</name>
<value>0.0.0.0:1006</value> <value>0.0.0.0:1006</value>
</property> </property>
<!-- If the port is 0 then the server will start on a free port. -->
<property>
<name>dfs.datanode.ipc.address</name>
<value>0.0.0.0:0</value>
</property>
<property>
<name>dfs.namenode.secondary.http-address</name>
<value>0.0.0.0:0</value>
</property>
<property>
<name>dfs.namenode.backup.address</name>
<value>0.0.0.0:0</value>
</property>
<property>
<name>dfs.namenode.backup.http-address</name>
<value>0.0.0.0:0</value>
</property>
<!-- <!--
<property> <property>
<name>dfs.http.policy</name> <name>dfs.http.policy</name>