123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <configuration>
- <property>
- <name>dfs.nameservices</name>
- <value>nameservice1</value>
- </property>
- <property>
- <name>dfs.ha.namenodes.nameservice1</name>
- <value>nn1,nn2</value>
- </property>
- <property>
- <name>dfs.namenode.rpc-address.nameservice1.nn1</name>
- <value>tw-node3:8020</value>
- </property>
- <property>
- <name>dfs.namenode.rpc-address.nameservice1.nn2</name>
- <value>tw-node1:8020</value>
- </property>
- <property>
- <name>dfs.namenode.http-address.nameservice1.nn1</name>
- <value>tw-node3:50070</value>
- </property>
- <property>
- <name>dfs.namenode.http-address.nameservice1.nn2</name>
- <value>tw-node1:50070</value>
- </property>
- <property>
- <name>dfs.ha.automatic-failover.enabled.nameservice1</name>
- <value>true</value>
- </property>
- <property>
- <name>dfs.namenode.shared.edits.dir.nameservice1</name>
- <value>qjournal://tw-node3:8485;tw-node1:8485;tw-node2:8485/nameservice1</value>
- </property>
- <property>
- <name>dfs.client.failover.proxy.provider.nameservice1</name>
- <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
- </property>
- <property>
- <name>dfs.ha.automatic-failover.enabled.nameservice1</name>
- <value>true</value>
- </property>
- <property>
- <name>dfs.journalnode.rpc-address</name>
- <value>0.0.0.0:8485</value>
- </property>
- <property>
- <name>dfs.journalnode.http-address</name>
- <value>0.0.0.0:8480</value>
- </property>
- <property>
- <name>dfs.datanode.address</name>
- <value>0.0.0.0:50010</value>
- </property>
- <property>
- <name>dfs.datanode.http.address</name>
- <value>0.0.0.0:50075</value>
- </property>
- <property>
- <name>dfs.datanode.ipc.address</name>
- <value>0.0.0.0:50020</value>
- </property>
- <property>
- <name>dfs.hosts.exclude</name>
- <value>/etc/hdfs1/conf/exclude-list.txt</value>
- </property>
- <property>
- <name>dfs.domain.socket.path</name>
- <value>/var/run/hdfs1/dn_socket</value>
- </property>
- <property>
- <name>license.zookeeper.quorum</name>
- <value>tw-node3:2291,tw-node1:2291,tw-node2:2291</value>
- </property>
- <property>
- <name>dfs.journalnode.edits.dir</name>
- <value>/hadoop/journal</value>
- </property>
- <property>
- <name>dfs.permissions.superusergroup</name>
- <value>hbase</value>
- </property>
- <property>
- <name>dfs.client.socket-timeout</name>
- <value>120000</value>
- </property>
- <property>
- <name>dfs.datanode.data.dir.perm</name>
- <value>755</value>
- </property>
- <property>
- <name>dfs.datanode.du.reserved</name>
- <value>21464141824</value>
- </property>
- <property>
- <name>dfs.namenode.handler.count</name>
- <value>100</value>
- </property>
- <property>
- <name>dfs.namenode.acls.enabled</name>
- <value>true</value>
- </property>
- <property>
- <name>dfs.data.transfer.protection</name>
- <value>authentication</value>
- </property>
- <property>
- <name>dfs.client.read.shortcircuit</name>
- <value>true</value>
- </property>
- <property>
- <name>dfs.namenode.name.dir</name>
- <value>/vdir/hadoop/namenode_dir,/vdir/mnt/disk1/hadoop/namenode_dir</value>
- </property>
- <property>
- <name>dfs.datanode.handler.count</name>
- <value>30</value>
- </property>
- <property>
- <name>dfs.datanode.failed.volumes.tolerated</name>
- <value>0</value>
- </property>
- <property>
- <name>dfs.datanode.data.dir</name>
- <value>/vdir/mnt/disk1/hadoop/data</value>
- </property>
- </configuration>
|