<?xml version=
"1.0"
?>
<?xml-stylesheet type=
"text/xsl"
href=
"configuration.xsl"
?>
<!-- Put site-specific property overrides
in
this
file. -->
<configuration>
<property>
<name>dfs.name.dir</name>
<value>/data0/hadoop/dfs/name</value>
</property>
<property>
<name>dfs.data.dir</name>
</property>
<property>
<name>fs.checkpoint.dir</name>
<value>/data0/hadoop/dfs/namesecondary</value>
</property>
<property>
<name>fs.checkpoint.period</name>
<value>
600
</value>
<description>The number of seconds between two periodic checkpoints.</description>
</property>
<property>
<name>dfs.namenode.handler.count</name>
<value>
20
</value>
<description>The number of server threads
for
the namenode.</description>
</property>
<property>
<name>dfs.replication</name>
<value>
2
</value>
</property>
<property>
<name>dfs.datanode.du.reserved</name>
<value>
32212254720
</value>
<description>(30GB)Reserved space
in
bytes per volume. Always leave
this
much space free
for
non dfs
use
.</description>
</property>
<property>
<name>dfs.datanode.max.xcievers</name>
<value>
4096
</value>
<description>The number of server threads
for
the datanode.</description>
</property>
<property>
<name>fs.trash.interval</name>
<value>
300
</value>
<description>time
in
minutes,
300
means
5
hours</description>
</property>
<property>
<name>dfs.http.address</name>
<!--
This should only be
set
on master
Cause we need to access the web
interface
of namenode & jobtracker
for
WLAN
<value>dcnamenode1:
50070
</value>
-->
<value>
0.0
.
0.0
:
50070
</value>
</property>
<property>
<name>dfs.secondary.http.address</name>
<value>slave-two:
50090
</value>
</property>
<property>
<name>dfs.balance.bandwidthPerSec</name>
<value>
5242880
</value>
<description>Default value
is
1048576
(1mb), that
's too slow, set it to 5242880(5mb). We cann'
t
set
it to a high value, e.g. 20mb,
this
will affect the execution of map/reduce task.</description>
</property>
<property>
<name>dfs.hosts.exclude</name>
<value>/home/hadoop/hadoop-
1.0
.
4
/conf/exclude_hosts</value>
<description>Names a file that contains a list of hosts that are
not permitted to connect to the namenode. The full pathname of the
file must be specified. If the value
is
empty, no hosts are
excluded.</description>
</property>
</configuration>