[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262082#comment-13262082
 ] 

Thomas Graves commented on MAPREDUCE-3883:
------------------------------------------

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.
                
> Document yarn.nodemanager.delete.debug-delay-sec configuration property
> -----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3883
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3883
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: documentation, mrv2
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3883.patch
>
>
> If you are using Yarn's nodemanager, you can add to your configuration:
> {noformat}
>   <property>
>     <name>yarn.nodemanager.delete.debug-delay-sec</name>
>     <value>10000000</value>
>   </property>
> {noformat}
> 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}}.
> It's a useful configuration setting for developers, but seems not to be 
> documented currently (see 
> http://hadoop.apache.org/common/docs/r0.23.0/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/yarn-default.xml).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to