大数据平台搭建
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?><configuration>
<property>
<name>dfs.nameservices</name>
<value>cluster</value>
</property>
<property>
<name>dfs.ha.namenodes.cluster</name>
<value>SZB-L0045546,SZB-L0045551</value>
</property>
<property>
<name>dfs.namenode.rpc-address.cluster.SZB-L0045546</name>
<value>SZB-L0045546:9000</value>
</property>
<property>
<name>dfs.namenode.http-address.cluster.SZB-L0045546</name>
<value>SZB-L0045546:50070</value>
</property>
<property>
<name>dfs.namenode.rpc-address.cluster.SZB-L0045551</name>
<value>SZB-L0045551:9000</value>
</property>
<property>
<name>dfs.namenode.http-address.cluster.SZB-L0045551</name>
<value>SZB-L0045551:50070</value>
</property>
<property>
<name>dfs.namenode.shared.edits.dir</name>
<value>qjournal://SZB-L0045552:8485;SZB-L0047815:8485;SZB-L0047816:8485/cluster</value>
</property>
<property>
<name>dfs.journalnode.edits.dir</name>
<value>/wls/oracle/bigdata/hadoop/journal</value>
</property>
<property>
<name>dfs.ha.automatic-failover.enabled</name>
<value>true</value>
</property>
<property>
<name>dfs.client.failover.proxy.provider.nsl</name>
<value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
</property>
<property>
<name>dfs.ha.fencing.methods</name>
<value>sshfence</value>
</property>
<property>
<name>dfs.ha.fencing.ssh.private-key-files</name>
<value>/root/.ssh/id_rsa</value>
</property>
</configuration>
页:
[1]