[ https://issues.apache.org/jira/browse/YARN-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797341#comment-13797341 ]
Tsuyoshi OZAWA commented on YARN-659: ------------------------------------- This is the summary of current znode structure(Before) and proposed znode structure(After). Could you review these? Before: {code} ROOT_DIR_PATH |--- RM_APP_ROOT |----- (#ApplicationId) /* update when YARN application starts. */ |----- (#ApplicationAttemptId) /* update when containers are allocated. */ |--- RM_DT_SECRET_MANAGER_ROOT |----- RMDelegationToken_(SequenceNumber) /* update when containers are assigned */ |----- RMDTSequenceNumber_(SequenceNumber)) /* update when containers are assigned. A global variable. */ {code} After(Our proposal): {code} ROOT_DIR_PATH |--- RM_APP_ROOT | |----- (#ApplicationId1) | | |----- ATTEMPT_IDS | | | |----- (#ApplicationAttemptIds) | | |----- TOKENS | | |----- RMDelegationToken_(#SequenceNumber) | |----- (#ApplicationId2) | | |----- ATTEMPT_IDS | | | |----- (#ApplicationAttemptIds) | | |----- TOKENS | | |----- RMDelegationToken_(#SequenceNumber) | ,,,, |--- RM_DT_SECRET_MANAGER_ROOT |----- RMDTSequenceNumber_(SequenceNumber) {code} > RMStateStore's removeApplication APIs should just take an applicationId > ----------------------------------------------------------------------- > > Key: YARN-659 > URL: https://issues.apache.org/jira/browse/YARN-659 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Vinod Kumar Vavilapalli > Assignee: Tsuyoshi OZAWA > > There is no need to give in the whole state for removal - just an ID should > be enough when an app finishes. -- This message was sent by Atlassian JIRA (v6.1#6144)