Description

to save the environmental directories of the applications (by default in /tmp/nm-local-dir) that the nodemanager starts so that you can examine them later.

Set the above value long enough so that you have time to examine the contents before the nodemanager's DeletionService removes them.

This setting is defined in hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java, and used in hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/DeletionService.java.

Hadoop QA
added a comment - 28/Apr/12 00:45 -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12524948/MAPREDUCE-3883.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+0 tests included. The patch appears to be a documentation patch that doesn't require tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these unit tests:
org.apache.hadoop.mapreduce.TestYarnClientProtocolProvider
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2329//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2329//console
This message is automatically generated.

Hadoop QA
added a comment - 27/Apr/12 22:27 -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12524922/MAPREDUCE-3883.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+0 tests included. The patch appears to be a documentation patch that doesn't require tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these unit tests:
org.apache.hadoop.mapreduce.TestYarnClientProtocolProvider
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2324//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2324//console
This message is automatically generated.

Thomas Graves
added a comment - 27/Apr/12 20:45 Its missing the </description> at the end of the log-dirs description.
Also, one small correction, the log-dirs aren't under subdirectories like usercache/$
{user}
/appcache. Its simply log-dir/application_*/.

Thanks a lot for your feedback, Thomas. I trimmed the line length to 80 characters and expanded the content to mention yarn.nodemanager.log-dirs as well as yarn.nodemanager.local-dirs. I also added some additional content in the <description>s for each of those properties.

Eugene Koontz
added a comment - 27/Apr/12 19:52 Thanks a lot for your feedback, Thomas. I trimmed the line length to 80 characters and expanded the content to mention yarn.nodemanager.log-dirs as well as yarn.nodemanager.local-dirs. I also added some additional content in the <description>s for each of those properties.

Thanks Eugene, great description. could you update it to wrap at 80 characters. It also affects how long the application container logs are saved, so you might comment on that too. The location of the logs are detailed in yarn.nodemanager.log-dirs.

Thomas Graves
added a comment - 25/Apr/12 21:01 Thanks Eugene, great description. could you update it to wrap at 80 characters. It also affects how long the application container logs are saved, so you might comment on that too. The location of the logs are detailed in yarn.nodemanager.log-dirs.

Hadoop QA
added a comment - 21/Feb/12 22:17 +1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12515488/MAPREDUCE-3883.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+0 tests included. The patch appears to be a documentation patch that doesn't require tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in .
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1906//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1906//console
This message is automatically generated.