In the temporary directory, locate the following files and modify the properties based on
your environment. Search for TODO
in the files for the properties to replace.
See Define Environment Parameters for more information.
Table 3.1. core-site.xml
Property | Example | Description |
---|---|---|
fs.default.name | hdfs:// |
Enter your NameNode hostname |
fs.checkpoint.dir |
|
A comma separated list of paths. Use the list of directories from |
Table 3.2. hdfs-site.xml
Property | Example | Description |
---|---|---|
dfs.name.dir |
|
Comma separated list of paths. Use the list of directories from
|
dfs.data.dir |
|
Comma separated list of paths. Use the list of directories from
|
dfs.http.address |
|
Enter your NameNode hostname for http access |
dfs.secondary.http.address |
|
Enter your SecondaryNameNode hostname |
dfs.https.address |
|
Enter your NameNode hostname for https access. |
Note | |
---|---|
The value of NameNode new generation size should be 1/8 of maximum heap size
( |
Table 3.3. mapred-site.xml
Property | Example | Description |
---|---|---|
mapred.job.tracker |
|
Enter your JobTracker hostname |
mapred.job.tracker.http.address |
|
Enter your JobTracker hostname |
mapred.local.dir |
|
Comma separated list of paths. Use the list of directories from |
mapreduce.tasktracker.group |
|
Enter your group. Use the value of |
mapreduce.history.server.http.address |
|
Enter your JobTracker hostname |
Table 3.4. taskcontroller.cfg
Property | Example | Description |
---|---|---|
mapred.local.dir |
|
Comma separated list of paths. Use the list of directories from |