You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Manikandan R (JIRA)" <ji...@apache.org> on 2017/08/13 12:08:00 UTC

[jira] [Comment Edited] (YARN-6982) Potential issue on setting AMContainerSpec#tokenConf to null before app is completed

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

Manikandan R edited comment on YARN-6982 at 8/13/17 12:07 PM:
--------------------------------------------------------------

[~rohithsharma] Thanks for review and filing this.

As this is related to YARN-65 and almost nearing completion, I am assigning this JIRA to myself. Please re-assign if someone is already working on it.


was (Author: manirajv06@gmail.com):
[~rohithsharma] Thanks for review and filing this.

As this is related to YARN-65 and almost nearing completion, I assigning this to myself. Please re-assign if someone is already working on it.

> Potential issue on setting AMContainerSpec#tokenConf to null before app is completed
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-6982
>                 URL: https://issues.apache.org/jira/browse/YARN-6982
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>
> While reviewing patch for YARN-65, I found that many places RMAppImpl#submissionContext sets containerLaunchcontext#setTokensConf has been set to null i.e 
> {code}
> // set the memory free
> app.submissionContext.getAMContainerSpec().setTokensConf(null);
> {code}
> This appears be a issue if application is updated may be because queue move or lifetime or priority, then submission context will be restored again into state store. Consider after app update, if RM is restarted then submission context will have null tokenConf. This could be a potential issue. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org