<configuration> <property> <name>dfs.datanode.data.dir</name> <value>file:///Users/harikrishna_gurram/softwares/Hadoop/hadoop-2.6.0/hdfs/datanode</value> <description>Determines where on the local filesystem an DFS data node should store its blocks</description> </property> <property> <name>dfs.namenode.name.dir</name> <value>file:///Users/harikrishna_gurram/softwares/Hadoop/hadoop-2.6.0/hdfs/namenode</value> <description>Determines where on the local filesystem the DFS name node should store the name table(fsimage)</description> </property> </configuration>
Property
|
Description
|
dfs.datanode.data.dir
|
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.namenode.name.dir
|
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.
|
<configuration> <property> <name>fs.defaultFS</name> <value>hdfs://localhost/</value> <description>NameNode URI</description> </property> </configuration>
<configuration> <property> <name>yarn.scheduler.minimum-allocation-mb</name> <value>128</value> <description>The minimum allocation for every container request at the Resource manager, in MBs</description> </property> <property> <name>yarn.scheduler.maximum-allocation-mb</name> <value>2048</value> <description>The maximum allocation for every container request at the Resourec Manager, in MBs.</description> </property> <property> <name>yarn.scheduler.minimum-allocation-vcores</name> <value>1</value> <description>The minimum allocation for every container request at the RM, in terms of virtual CPU cores</description> </property> <property> <name>yarn.scheduler.maximum-allocation-vcores</name> <value>2</value> <description>The maximum allocation for every container request at the RM, in terms of virtual CPU cores</description> </property> <property> <name>yarn.nodemanager.resource.memory-mb</name> <value>4096</value> <description>Amount of physical memory, in MB, that can be allocated for containers.</description> </property> <property> <name>yarn.nodemanager.resource.cpu-vcores</name> <value>4</value> <description>Number of vcores that can be allocated for containers.</description> </property> </configuration>
|
Property
|
Description
|
|
yarn.scheduler.minimum-allocation-mb
|
The
minimum allocation for every container request at the RM, in MBs. Memory
requests lower than this will throw a InvalidResourceRequestException.
|
|
yarn.scheduler.maximum-allocation-mb
|
The
maximum allocation for every container request at the RM, in MBs. Memory
requests higher than this will throw a InvalidResourceRequestException.
|
|
yarn.scheduler.minimum-allocation-vcores
|
The
minimum allocation for every container request at the RM, in terms of virtual
CPU cores. Requests lower than this will throw a InvalidResourceRequestException.
|
|
yarn.scheduler.maximum-allocation-vcores
|
The
maximum allocation for every container request at the RM, in terms of virtual
CPU cores. Requests higher than this will throw a
InvalidResourceRequestException.
|
|
yarn.nodemanager.resource.memory-mb
|
Amount of
physical memory, in MB, that can be allocated for containers.
|
|
yarn.nodemanager.resource.cpu-vcores
|
Number of
vcores that can be allocated for containers. This is used by the RM scheduler
when allocating resources for containers. This is not used to limit the
number of physical cores used by YARN containers.
|
