hadoop namenode secondaryNamenode 分离
1.hdfs-site.xml
<configuration>
<property>
<name>dfs.replication</name>
<value>2</value>
<description>Default block replication.</description>
</property>
<property>
<name>dfs.http.address</name>
<value>master:50070</value>
</property>
<property>
<name>dfs.secondary.http.address</name>
<value>slave1:50090</value>
</property>
</configuration>
2.master
记录secondaryNamenode节点地址
#slave1为secondaryNamenode
slave1
check