[ https://issues.apache.org/jira/browse/HADOOP-14543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061650#comment-16061650 ]
Arpit Agarwal commented on HADOOP-14543: ---------------------------------------- +1 for the patch, based on responses on zookeeper-users. http://mail-archives.apache.org/mod_mbox/zookeeper-user/201706.mbox/%3CCAHB_t6r6v0Mtr4gSgkxN%2BqsOP6e%3D0qJrpb_S6wtxP%3DZk4%3DxTQA%40mail.gmail.com%3E Thanks [~brahmareddy] for catching this. > Should use getAversion() while setting the zkacl > ------------------------------------------------ > > Key: HADOOP-14543 > URL: https://issues.apache.org/jira/browse/HADOOP-14543 > Project: Hadoop Common > Issue Type: Bug > Reporter: Brahma Reddy Battula > Assignee: Brahma Reddy Battula > Attachments: HADOOP-14543-002.patch, HADOOP-14543-003.patch, > HADOOP-14543.patch > > > while setting the zkacl we used {{getVersion()}} which is dataVersion,Ideally > we should use {{getAversion()}}. If there is any acl changes( i.e relam > change/..) ,we set the ACL with dataversion which will cause BADVersion and > *process will not start*. See > [here|https://issues.apache.org/jira/browse/HDFS-11403?focusedCommentId=16051804&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16051804] > {{zkClient.setACL(path, zkAcl, stat.getVersion());}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org