When you created the znodes did you specify acls or just take the
defaults? (zkcli defaults are permissive), here's the create znode
code:

        List<ACL> acl = ZooDefs.Ids.OPEN_ACL_UNSAFE;
        if (args.length > 3) {
            acl = AclParser.parse(args[3]);
        }

Patrick

On Tue, May 22, 2012 at 3:49 AM, Rakesh R <[email protected]> wrote:
> Hi All,
>
> I'm trying to use the ZooKeeper sasl. Actually I'm a bit confused when using 
> the delete command.
>
> Say, I have created two znodes:
>
>  'app1' directly under '/' with 
> hbase/[email protected]<mailto:hbase/[email protected]>
>  'app2' directly under '/' with 
> hbase/[email protected]<mailto:hbase/[email protected]>
>
> Now, I have logged in as 
> zkcli/[email protected]<mailto:zkcli/[email protected]>
>  and this is not given as super user. When I tried to delete the znodes 
> '/app1' and '/app2', it is allowing and not authenticating.
>
> Here, I'm thinking that 'zkcli' will not have the access to delete these two 
> nodes.
>
> Is this a problem or anything I'm missing. Can you please help me to resolve 
> this and how the security can be applied here.
>
>
> Thanks,
> Rakesh

Reply via email to