You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2018/06/07 13:16:00 UTC

[jira] [Commented] (YARN-8405) RM zk-state-store.parent-path acls has been changed since HADOOP-14773

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

Rohith Sharma K S commented on YARN-8405:
-----------------------------------------

Below is the difference  
*Before* :
{code}
[zk: localhost:2181(CONNECTED) 0] getAcl /rmstore
'sasl,'rm
: cdrwa
{code}

*After*:
{code}
[zk: localhost:2181(CONNECTED) 1] getAcl /rmstore
'world,'anyone
: cdrwa
[zk: localhost:2181(CONNECTED) 2] getAcl /rmstore/ZKRMStateRoot
'sasl,'rm
: rwa
'digest,'ctr-e138-1518143905142-346048-01-000008.test.site:C1u8x7GQW9SdBpprg1Gov7bAAf8=
: cd
{code}


The reason is while creating parent node recursively, ACLs are not set. Once parent node is created, then for further node creation acls are set. 
cc:/ [~subru] [~elgoiri]

> RM zk-state-store.parent-path acls has been changed since HADOOP-14773
> ----------------------------------------------------------------------
>
>                 Key: YARN-8405
>                 URL: https://issues.apache.org/jira/browse/YARN-8405
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>            Priority: Major
>
> HADOOP-14773 changes the ACL for yarn.resourcemanager.zk-state-store.parent-path. Earlier to HADOOP-14773, /rmstore used set acls with yarn.resourcemanager.zk-acl value. But now  behavior changed from setting acls to parent node. As a result, parent node /rmstore is set to default acl. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org