62 | | * edit |
| 62 | * edit hadoop-0.18.2/conf/hadoop-site.xml |
| 63 | {{{ |
| 64 | #!diff |
| 65 | --- hadoop-0.18.2/conf/hadoop-site.xml.org 2008-11-06 23:11:18.000000000 +0800 |
| 66 | +++ hadoop-0.18.2/conf/hadoop-site.xml 2008-11-07 17:05:11.000000000 +0800 |
| 67 | @@ -4,5 +4,31 @@ |
| 68 | <!-- Put site-specific property overrides in this file. --> |
| 69 | |
| 70 | <configuration> |
| 71 | - |
| 72 | + <property> |
| 73 | + <name>fs.default.name</name> |
| 74 | + <value>hdfs://192.168.61.254:9000/</value> |
| 75 | + <description> |
| 76 | + The name of the default file system. Either the literal string |
| 77 | + "local" or a host:port for NDFS. |
| 78 | + </description> |
| 79 | + </property> |
| 80 | + <property> |
| 81 | + <name>mapred.job.tracker</name> |
| 82 | + <value>192.168.61.254:9001</value> |
| 83 | + <description> |
| 84 | + The host and port that the MapReduce job tracker runs at. If |
| 85 | + "local", then jobs are run in-process as a single map and |
| 86 | + reduce task. |
| 87 | + </description> |
| 88 | + </property> |
| 89 | + <property> |
| 90 | + <name>dfs.data.dir</name> |
| 91 | + <value>/hadoop/dfs/data</value> |
| 92 | + <description>Determines where on the local filesystem an DFS data node |
| 93 | + should store its blocks. If this is a comma-delimited |
| 94 | + list of directories, then data will be stored in all named |
| 95 | + directories, typically on different devices. |
| 96 | + Directories that do not exist are ignored. |
| 97 | + </description> |
| 98 | + </property> |
| 99 | </configuration> |
| 100 | }}} |