[jira] Commented: (ZOOKEEPER-589) When create a znode, a NULL ACL parameter cannot be accepted

2010-02-08 Thread Mahadev konar (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831165#action_12831165
 ] 

Mahadev konar commented on ZOOKEEPER-589:
-

+1 for the patch.

 When create a znode, a NULL ACL parameter cannot be accepted
 

 Key: ZOOKEEPER-589
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-589
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
 Environment: Linux db-passport-test05.vm 2.6.9_5-4-0-5 #1 SMP Tue Apr 
 14 15:56:24 CST 2009 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Qian Ye
Assignee: Benjamin Reed
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-524.patch


 In the comments of client C API which associated with creating znode, eg. 
 zoo_acreate, it is said that the initial ACL of the node if null, the ACL of 
 the parent will be used. However, the it doesn't work. When execute this 
 kind of request at the server side, it raises InvalidACLException. The source 
 code show that, the function fixupACL return false when it get a null ACL. 

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



[jira] Commented: (ZOOKEEPER-589) When create a znode, a NULL ACL parameter cannot be accepted

2010-02-01 Thread Benjamin Reed (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12828238#action_12828238
 ] 

Benjamin Reed commented on ZOOKEEPER-589:
-

i think we should fix the client docs to reflect this behavior. ACL of the 
parent is a bit ambiguous if the parent's ACL changes after the create. it 
also will be problematic when we do federated ZooKeeper.

 When create a znode, a NULL ACL parameter cannot be accepted
 

 Key: ZOOKEEPER-589
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-589
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
 Environment: Linux db-passport-test05.vm 2.6.9_5-4-0-5 #1 SMP Tue Apr 
 14 15:56:24 CST 2009 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Qian Ye
 Fix For: 3.3.0


 In the comments of client C API which associated with creating znode, eg. 
 zoo_acreate, it is said that the initial ACL of the node if null, the ACL of 
 the parent will be used. However, the it doesn't work. When execute this 
 kind of request at the server side, it raises InvalidACLException. The source 
 code show that, the function fixupACL return false when it get a null ACL. 

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



[jira] Commented: (ZOOKEEPER-589) When create a znode, a NULL ACL parameter cannot be accepted

2010-02-01 Thread Benjamin Reed (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12828239#action_12828239
 ] 

Benjamin Reed commented on ZOOKEEPER-589:
-

thanx for catching this eric!

 When create a znode, a NULL ACL parameter cannot be accepted
 

 Key: ZOOKEEPER-589
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-589
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
 Environment: Linux db-passport-test05.vm 2.6.9_5-4-0-5 #1 SMP Tue Apr 
 14 15:56:24 CST 2009 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Qian Ye
 Fix For: 3.3.0


 In the comments of client C API which associated with creating znode, eg. 
 zoo_acreate, it is said that the initial ACL of the node if null, the ACL of 
 the parent will be used. However, the it doesn't work. When execute this 
 kind of request at the server side, it raises InvalidACLException. The source 
 code show that, the function fixupACL return false when it get a null ACL. 

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