hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1307) Rethink znode structure for RM HA
Date Thu, 17 Oct 2013 16:45:45 GMT

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

Tsuyoshi OZAWA commented on YARN-1307:

Thanks for your review, Vinod and Jian!

> RMDelegationToken is not application specific, user can also explicitly say getDelegationToken,
should not be stored along with app info.

I overlooked this. Then, the following znode structure is correct one.

 |     |----- (#ApplicationId1)
 |     |        |----- ATTEMPT_IDS
 |     |                 |----- (#ApplicationAttemptIds)
 |     |                 
 |     |----- (#ApplicationId2)
 |              |----- ATTEMPT_IDS
 |                      |----- (#ApplicationAttemptIds)
 |      ,,,,
       |----- RMDTSequenceNumber_(SequenceNumber)
       |----- RMDelegationToken_(#SequenceNumber)

As you mentioned, ZK does NOT support 'directory' removal. We can implement it with ZK's getChildren
and multi delete APIs.

> 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
> 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

View raw message