[
https://issues.apache.org/jira/browse/YARN-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797346#comment-13797346
]
Tsuyoshi OZAWA commented on YARN-1307:
--------------------------------------
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}
> Rethink znode structure for RM HA
> ---------------------------------
>
> Key: YARN-1307
> URL: https://issues.apache.org/jira/browse/YARN-1307
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Reporter: Tsuyoshi OZAWA
>
> Rethink for znode structure for RM HA is proposed in some JIRAs(YARN-659,
> YARN-1222). The motivation of this JIRA is quoted from Bikas' comment in
> YARN-1222:
> {quote}
> We should move to creating a node hierarchy for apps such that all znodes for
> an app are stored under an app znode instead of the app root znode. This will
> help in removeApplication and also in scaling better on ZK. The earlier code
> was written this way to ensure create/delete happens under a root znode for
> fencing. But given that we have moved to multi-operations globally, this isnt
> required anymore.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.1#6144)