YARN-5028. RMStateStore should trim down app state for completed applications(addendum). Contributed by Rohith Sharma K S.

This commit is contained in:
Yufei Gu 2018-03-01 08:38:53 -08:00
parent 5ed689e33a
commit 6ca4e3017b
1 changed files with 3 additions and 0 deletions

View File

@ -301,6 +301,9 @@ public abstract class RMStateStore extends AbstractService {
context.setQueue(srcCtx.getQueue());
context.setAMContainerResourceRequests(
srcCtx.getAMContainerResourceRequests());
context.setApplicationName(srcCtx.getApplicationName());
context.setPriority(srcCtx.getPriority());
context.setApplicationTags(srcCtx.getApplicationTags());
context.setApplicationType(srcCtx.getApplicationType());
ContainerLaunchContextPBImpl amContainerSpec =
new ContainerLaunchContextPBImpl();