[
https://issues.apache.org/jira/browse/YARN-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated YARN-1307:
------------------------------------------
Attachment: YARN-1307.13.patch
The last patch looks good. Minor changes:
- Renamed
-- RM_DT_DELEGATION_TOKEN_ZNODE_NAME to RM_DELEGATION_TOKENS_ROOT_ZNODE_NAME
-- RM_DT_MASTER_KEY_ZNODE_NAME to RM_DT_MASTER_KEYS_ROOT_ZNODE_NAME
-- RMDTDelegationToken node to RMDelegationTokensRoot
-- RMDelegationKey node to RMDTMasterKeysRoot node
-- masterKeyRootPath field to dtMasterKeysRootPath
-- delegationTokenPath to delegationTokensRootPath
-- nodeCreatePath to nodeUpdatePath
-- attemptName to attemptIDStr
- Removed the useless appAttemptID check.
Will check it in if Jenkins says okay.
> 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
> Assignee: Tsuyoshi OZAWA
> Attachments: YARN-1307.1.patch, YARN-1307.10.patch,
> YARN-1307.11.patch, YARN-1307.12.patch, YARN-1307.13.patch,
> YARN-1307.2.patch, YARN-1307.3.patch, YARN-1307.4-2.patch,
> YARN-1307.4-3.patch, YARN-1307.4.patch, YARN-1307.5.patch, YARN-1307.6.patch,
> YARN-1307.7.patch, YARN-1307.8.patch, YARN-1307.9.patch, YARN-1307.9.patch
>
>
> 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.4#6159)