mapred-site.xml 1.18 KB
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
<property>
<name>mapred.job.tracker</name>
<value>http://JOBTRACKER_IP:9001</value>
</property>

<property>
<name>mapred.tasktracker.map.tasks.maximum</name>
<value>MAPTASKSPERTASKTRACKER</value>
</property>
<property>
<name>mapred.tasktracker.reduce.tasks.maximum</name>
<value>REDUCETASKSPERTASKTRACKER</value>
</property>

<property>
<name>mapred.map.tasks</name>
<value>TOTALMAPTASKS</value>
</property>

<property>
<name>mapred.reduce.tasks</name>
<value>TOTALREDUCETASK</value>
</property>

<property>
<name>mapred.map.child.java.opts</name>
<value>-XmxMAPMEMORYm</value>
</property>

<property>
<name>mapred.reduce.child.java.opts</name>
<value>-XmxREDUCEMEMORYm</value>
</property>

<property>
<name>mapreduce.job.counters.limit</name>
<value>500</value>
</property>

<property>
<name>mapred.task.timeout</name>
<value>60000000</value>
</property>
<property>
<name>mapred.hosts.exclude</name>
<value>/opt/hadoop-1.2.1/conf/exclude</value>
</property>
</configuration>