hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11403) Zookeper ACLs on NN HA enabled clusters to be handled consistently
Date Fri, 16 Jun 2017 11:55:00 GMT

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

Brahma Reddy Battula commented on HDFS-11403:
---------------------------------------------

Sorry for landing late here,any purpose why we always use {{stat.getVersion()}} why not {{stat.getAversion()}}..?
{code:java}
1083	          zkClient.setACL(path, zkAcl, stat.getVersion());
{code}
 *There can be chance that aclversion(like below case) will be higher than {{dataversion}}
which might cause {{Bad Version}} and fail .* 
{noformat}
cversion = 0
dataVersion = 1
aclVersion = 5
ephemeralOwner = 0x0
dataLength = 4
{noformat}

Please correct me If I am wrong.

> Zookeper ACLs on NN HA enabled clusters to be handled consistently
> ------------------------------------------------------------------
>
>                 Key: HDFS-11403
>                 URL: https://issues.apache.org/jira/browse/HDFS-11403
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>            Reporter: Laszlo Puskas
>            Assignee: Hanisha Koneru
>             Fix For: 2.9.0, 3.0.0-alpha4
>
>         Attachments: HDFS-11403.000.patch, HDFS-11403.001.patch
>
>
> On clusters where NN HA is enabled zookeper ACLs need to be handled consistently when
enabling security.
> The current behavior is as follows:
> * if HA is enabled before the cluster is made secure, proper ACLs are only set on the
leaf znodes, while there's no ACLs set on the path (eg.:/hadoop-ha/mycluster/ActiveStandbyElectorLock)
> * if HA is enabled after the cluster is made secure ACLs are set on the root znode as
well 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message