file | property
| value
| default val | summary
|
core-site.xml | hadoop.tmp.dir
| /usr/local/hadoop/data-2.5.1/tmp
| /tmp/hadoop-${user.name}
| path to a tmp dir, some sub dirs will be
filecache,usercache,nmPrivate.so thisdir shoult not set todir 'tmp' for productenvironment;
|
| fs.defaultFS
| hdfs://host1:9000
| file:///
| the name of the default file system.this will determine the installation mode ;the correspondent deprecated one is: fs.default.name;
The name of the default file system. A URI whose
scheme and authority determine the FileSystem implementation. The
uri's scheme determines the config property (fs.SCHEME.impl) naming
the FileSystem implementation class. The uri's authority is used to
determine the host, port, etc. for a filesystem.
|
hdfs-site.xml | dfs.nameservices
| hadoop-cluster1 | | Comma-separated list of nameservices.here is single NN only but HA
|
| dfs.namenode.secondary.http-address
| host1:50090
| 0.0.0.0:50090
| The secondary namenode http server address and port.
|
| dfs.namenode.name.dir
| file:///usr/local/hadoop/data-2.5.1/dfs/name
| file://${hadoop.tmp.dir}/dfs/name
| Determines where on the local filesystem the DFS name node
should store the name table(fsimage). If this is a comma-delimited list
of directories then the name table is replicated in all of the
directories, for redundancy.
|
| dfs.datanode.data.dir
| file:///usr/local/hadoop/data-2.5.1/dfs/data | file://${hadoop.tmp.dir}/dfs/data
| Determines where on the local filesystem an DFS data node
should store its blocks. If this is a comma-delimited
list of directories, then data will be stored in all named
directories, typically on different devices.
Directories that do not exist are ignored.
|
| dfs.replication
| 1 | 3 | the replication factor to assign data blocks |
| dfs.webhdfs.enabled
| true | true | Enable WebHDFS (REST API) in Namenodes and Datanodes.
|
yarn-site.xml | yarn.nodemanager.aux-services | mapreduce_shuffle | the auxiliary service name | the valid service name should only contain a-zA-Z0-9_ and can not start with numbers |
| yarn.resourcemanager.address | host1:8032 | ${yarn.resourcemanager.hostname}:8032 | The address of the applications manager interface in the RM |
| yarn.resourcemanager.scheduler.address | host1:8030 | ${yarn.resourcemanager.hostname}:8030 | the scheduler address of RM |
| yarn.resourcemanager.resource-tracker.address | host1:8031 | ${yarn.resourcemanager.hostname}:8031 | |
| yarn.resourcemanager.admin.address | host1:8033 | ${yarn.resourcemanager.hostname}:8033 | admin addr |
| yarn.resourcemanager.webapp.address | host1:50030 | ${yarn.resourcemanager.hostname}:8088 | the webp ui addr for RM ;here is set to job tracker addr that same as hadoop 1.x |
mapred-site.xml | mapreduce.framework.name | yarn | local | The runtime framework for executing MapReduce jobs.
Can be one of local, classic or yarn. |
| mapreduce.jobhistory.address | host1:10020 | 0.0.0.0:10020 | MapReduce JobHistory Server IPC host:port |
| mapreduce.jobhistory.webapp.address | host1:19888 | 0.0.0.0:19888 | MapReduce JobHistory Server Web UI host:port |
| | | | |