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

Hudson commented on YARN-6982:
------------------------------

ABORTED: Integrated in Jenkins build Hadoop-trunk-Commit #12270 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/12270/])
YARN-6982. Potential issue on setting AMContainerSpec#tokenConf to null 
(rohithsharmaks: rev 4cae120c619811006b26b9a95680a98732572af6)
* (edit) 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/MockRM.java
* (edit) 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMRestart.java
* (edit) 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java


> 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
>            Assignee: Manikandan R
>             Fix For: 2.9.0, 3.0.0-beta1
>
>         Attachments: YARN-6982.001.patch
>
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to