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

Miklos Szegedi commented on YARN-5600:
--------------------------------------

Thank you, [~vvasudev] for the comment!
We will get 600 in all of the three cases above. The current rule is 
Math.max(CONF,Math.min(CUSTOM,MAX_CONF)), where CONF is 
yarn.nodemanager.delete.debug-delay-sec, custom is DEBUG_DELETE_DELAY and 
MAX_CONF is delete.max-per-application-debug-delay-sec.
1) We choose 600 over 200. This makes sense, since an administrator expressed 
that they want to keep any file longer than what the applications specified.
2) We chose 600 over 300. We did not let the client choose 400 with the maximum 
limit, but the maximum does not apply to the default, so that the administrator 
does not need to change two values for one configuration option.
3) We choose 600 over 300. A custom application request came in, so by using 
the maximum we fulfill both the administrator's and the client's request
Thank you!


> Add a parameter to ContainerLaunchContext to emulate 
> yarn.nodemanager.delete.debug-delay-sec on a per-application basis
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-5600
>                 URL: https://issues.apache.org/jira/browse/YARN-5600
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Daniel Templeton
>            Assignee: Miklos Szegedi
>              Labels: oct16-medium
>         Attachments: YARN-5600.000.patch, YARN-5600.001.patch, 
> YARN-5600.002.patch, YARN-5600.003.patch, YARN-5600.004.patch, 
> YARN-5600.005.patch, YARN-5600.006.patch, YARN-5600.007.patch, 
> YARN-5600.008.patch, YARN-5600.009.patch, YARN-5600.010.patch, 
> YARN-5600.011.patch, YARN-5600.012.patch, YARN-5600.013.patch, 
> YARN-5600.014.patch
>
>
> To make debugging application launch failures simpler, I'd like to add a 
> parameter to the CLC to allow an application owner to request delayed 
> deletion of the application's launch artifacts.
> This JIRA solves largely the same problem as YARN-5599, but for cases where 
> ATS is not in use, e.g. branch-2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to