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

Karthik Kambatla commented on YARN-1222:
----------------------------------------

bq. Where is the shared rm-admin-acl being set such that both RMs have admin 
access to the root znode?
The shared rm-admin-acl comes from ZK_RM_STATE_STORE_ACL set by the user or 
default (world:anyone), if ZK_RM_STATE_STORE_ROOT_NODE_ACL is not set. If 
ZK_RM_STATE_STORE_ROOT_NODE_ACL is set by the user, it is the user's 
responsibility to set the ACLs in a way that both RMs have admin access and 
claim exclusive c-d access.

Agree with rest of the points. Will address them in the next revision.

> 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, yarn-1222-3.patch, 
> yarn-1222-4.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)

Reply via email to