merge -r 1332195:1332196 from trunk. FIXES: MAPREDUCE-3883

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1332198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Graves 2012-04-30 13:44:12 +00:00
parent 95a762f651
commit 0b6d455dc8
2 changed files with 36 additions and 2 deletions

View File

@ -51,6 +51,9 @@ Release 2.0.0 - UNRELEASED
MAPREDUCE-4138. Reduce memory usage of counters due to non-static nested MAPREDUCE-4138. Reduce memory usage of counters due to non-static nested
classes. (tomwhite) classes. (tomwhite)
MAPREDUCE-3883. Document yarn.nodemanager.delete.debug-delay-sec
configuration property (Eugene Koontz via tgraves)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -277,6 +277,26 @@
<value>4</value> <value>4</value>
</property> </property>
<property>
<description>
Number of seconds after an application finishes before the nodemanager's
DeletionService will delete the application's localized file directory
and log directory.
To diagnose Yarn application problems, set this property's value large
enough (for example, to 600 = 10 minutes) to permit examination of these
directories. After changing the property's value, you must restart the
nodemanager in order for it to have an effect.
The roots of Yarn applications' work directories is configurable with
the yarn.nodemanager.local-dirs property (see below), and the roots
of the Yarn applications' log directories is configurable with the
yarn.nodemanager.log-dirs property (see also below).
</description>
<name>yarn.nodemanager.delete.debug-delay-sec</name>
<value>0</value>
</property>
<property> <property>
<description>Heartbeat interval to RM</description> <description>Heartbeat interval to RM</description>
<name>yarn.nodemanager.heartbeat.interval-ms</name> <name>yarn.nodemanager.heartbeat.interval-ms</name>
@ -290,7 +310,12 @@
</property> </property>
<property> <property>
<description>List of directories to store localized files in.</description> <description>List of directories to store localized files in. An
application's localized file directory will be found in:
${yarn.nodemanager.local-dirs}/usercache/${user}/appcache/application_${appid}.
Individual containers' work directories, called container_${contid}, will
be subdirectories of this.
</description>
<name>yarn.nodemanager.local-dirs</name> <name>yarn.nodemanager.local-dirs</name>
<value>/tmp/nm-local-dir</value> <value>/tmp/nm-local-dir</value>
</property> </property>
@ -326,7 +351,13 @@
</property> </property>
<property> <property>
<description>Where to store container logs.</description> <description>
Where to store container logs. An application's localized log directory
will be found in ${yarn.nodemanager.log-dirs}/application_${appid}.
Individual containers' log directories will be below this, in directories
named container_{$contid}. Each container directory will contain the files
stderr, stdin, and syslog generated by that container.
</description>
<name>yarn.nodemanager.log-dirs</name> <name>yarn.nodemanager.log-dirs</name>
<value>/tmp/logs</value> <value>/tmp/logs</value>
</property> </property>