You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Kapil Thangavelu (JIRA)" <ji...@apache.org> on 2010/05/21 17:53:27 UTC

[jira] Created: (ZOOKEEPER-777) setting acl on a non existant node should return no node error

setting acl on a non existant node should return no node error
--------------------------------------------------------------

                 Key: ZOOKEEPER-777
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-777
             Project: Zookeeper
          Issue Type: Bug
          Components: server
            Reporter: Kapil Thangavelu


currently it just returns successfully, but the acl can't be retrieved, and if any value is being stored, its overwritten when the node is created.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ZOOKEEPER-777) setting acl on a non existant node should return no node error

Posted by "Kapil Thangavelu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kapil Thangavelu resolved ZOOKEEPER-777.
----------------------------------------

    Resolution: Fixed

i think the problem was in a the client library on top of zookeeper, i tried debugging the server code but its doing everything correct  and raising the exception and no node error code. the python script savu attached works as expected, i'm closing this out as invalid.

> setting acl on a non existant node should return no node error
> --------------------------------------------------------------
>
>                 Key: ZOOKEEPER-777
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-777
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.3.0, 3.3.1
>            Reporter: Kapil Thangavelu
>             Fix For: 3.4.0
>
>         Attachments: test.py
>
>
> currently it just returns successfully, but the acl can't be retrieved, and if any value is being stored, its overwritten when the node is created.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-777) setting acl on a non existant node should return no node error

Posted by "Savu Andrei (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Savu Andrei updated ZOOKEEPER-777:
----------------------------------

    Attachment: test.py

> setting acl on a non existant node should return no node error
> --------------------------------------------------------------
>
>                 Key: ZOOKEEPER-777
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-777
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.3.0, 3.3.1
>            Reporter: Kapil Thangavelu
>             Fix For: 3.4.0
>
>         Attachments: test.py
>
>
> currently it just returns successfully, but the acl can't be retrieved, and if any value is being stored, its overwritten when the node is created.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-777) setting acl on a non existant node should return no node error

Posted by "Savu Andrei (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873182#action_12873182 ] 

Savu Andrei commented on ZOOKEEPER-777:
---------------------------------------

Unable to replicate this bug. I've tested using the CLI:

[zk: (CONNECTED) 2] setAcl /dummy world:anyone:cdrwa
Node does not exist: /dummy

I have also tested this scenario using the attached python script:

Connecting to localhost:2181 -- 
Setting ACL on /dummy
Exception: no node

Am I missing something? 

> setting acl on a non existant node should return no node error
> --------------------------------------------------------------
>
>                 Key: ZOOKEEPER-777
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-777
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.3.0, 3.3.1
>            Reporter: Kapil Thangavelu
>             Fix For: 3.4.0
>
>         Attachments: test.py
>
>
> currently it just returns successfully, but the acl can't be retrieved, and if any value is being stored, its overwritten when the node is created.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-777) setting acl on a non existant node should return no node error

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-777:
-----------------------------------

        Fix Version/s: 3.4.0
    Affects Version/s: 3.3.1
                       3.3.0

Nice one! Fixing this would be a great opportunity for someone interested to learn more about server side code. ;-)

> setting acl on a non existant node should return no node error
> --------------------------------------------------------------
>
>                 Key: ZOOKEEPER-777
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-777
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.3.0, 3.3.1
>            Reporter: Kapil Thangavelu
>             Fix For: 3.4.0
>
>
> currently it just returns successfully, but the acl can't be retrieved, and if any value is being stored, its overwritten when the node is created.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.