[
https://issues.apache.org/jira/browse/YARN-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798372#comment-13798372
]
Karthik Kambatla commented on YARN-1222:
----------------------------------------
Thanks [~bikassaha]. The patch is exactly along the lines of your suggestion.
{#doMultiWithRetries} handles the creation and deletion of fencing node and the
logical store operations are oblivious to this. The patch calls the
{{#takeOwnership()}} you propose {{fence()}} and is called while creating the
root-dirs, before {{#loadState()}}.
> Make improvements in ZKRMStateStore for fencing
> -----------------------------------------------
>
> Key: YARN-1222
> URL: https://issues.apache.org/jira/browse/YARN-1222
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Bikas Saha
> Assignee: Karthik Kambatla
> Attachments: yarn-1222-1.patch, yarn-1222-2.patch
>
>
> Using multi-operations for every ZK interaction.
> In every operation, automatically creating/deleting a lock znode that is the
> child of the root znode. This is to achieve fencing by modifying the
> create/delete permissions on the root znode.
--
This message was sent by Atlassian JIRA
(v6.1#6144)