| 1 | <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> |
| 2 | |
| 3 | <!-- Put site-specific property overrides in this file. --> |
| 4 | |
| 5 | <configuration> |
| 6 | |
| 7 | <property> |
| 8 | <name>fs.default.name</name> [[br]] |
| 9 | <value>'''hd01.nchc.org.tw:9000'''</value> [[br]] |
| 10 | <description> |
| 11 | The name of the default file system. Either the literal string |
| 12 | "local" or a host:port for NDFS. |
| 13 | </description> [[br]] |
| 14 | </property> |
| 15 | |
| 16 | <property> |
| 17 | <name>mapred.job.tracker</name> [[br]] |
| 18 | <value>'''hd01.nchc.org.tw:9001'''</value> [[br]] |
| 19 | <description> |
| 20 | The host and port that the MapReduce job tracker runs at. If |
| 21 | "local", then jobs are run in-process as a single map and |
| 22 | reduce task. |
| 23 | </description> [[br]] |
| 24 | </property> |
| 25 | |
| 26 | <property> |
| 27 | <name>mapred.map.tasks</name> [[br]] |
| 28 | <value>'''12'''</value> [[br]] |
| 29 | <description> |
| 30 | define mapred.map tasks to be number of slave hosts |
| 31 | </description> [[br]] |
| 32 | </property> |
| 33 | |
| 34 | <property> |
| 35 | <name>mapred.reduce.tasks</name> [[br]] |
| 36 | <value>'''12'''</value> [[br]] |
| 37 | <description> |
| 38 | define mapred.reduce tasks to be number of slave hosts |
| 39 | </description> [[br]] |
| 40 | </property> |
| 41 | |
| 42 | <property> |
| 43 | <name>dfs.name.dir</name> [[br]] |
| 44 | <value>/nutch/filesystem/name</value> [[br]] |
| 45 | </property> |
| 46 | |
| 47 | <property> |
| 48 | <name>dfs.data.dir</name> [[br]] |
| 49 | <value>/nutch/filesystem/data</value> [[br]] |
| 50 | </property> |
| 51 | |
| 52 | <property> |
| 53 | <name>mapred.system.dir</name> [[br]] |
| 54 | <value>/nutch/filesystem/mapreduce/system</value> [[br]] |
| 55 | </property> |
| 56 | |
| 57 | <property> |
| 58 | <name>mapred.local.dir</name> [[br]] |
| 59 | <value>/nutch/filesystem/mapreduce/local</value> [[br]] |
| 60 | </property> |
| 61 | |
| 62 | <property> |
| 63 | <name>dfs.replication</name> [[br]] |
| 64 | <value>'''2'''</value> [[br]] |
| 65 | </property> |
| 66 | |
| 67 | </configuration> |