[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-17 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-433:


  Resolution: Fixed
Release Note: fixes a problem with getacl on root node "/"
Hadoop Flags: [Reviewed]
  Status: Resolved  (was: Patch Available)

I just committed this. thanks pat.

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch, ZOOKEEPER-433.patch, 
> ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-17 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-433:


Status: Patch Available  (was: Open)

retrying hudson.

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch, ZOOKEEPER-433.patch, 
> ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-17 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-433:


Attachment: ZOOKEEPER-433.patch

this patch removes the newly added OPEN_ACL_UNSAFE_ADMIN with OPEN_ACL_UNSAFE 
since OPEN_ACL_UNSAFE is supposed to have admin previliges as well.

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch, ZOOKEEPER-433.patch, 
> ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-17 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-433:


Status: Open  (was: Patch Available)

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch, ZOOKEEPER-433.patch, 
> ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-15 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-433:


Status: Open  (was: Patch Available)

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch, ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-15 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-433:


Attachment: ZOOKEEPER-433.patch

added get check on "/" test in c.
other than that +1 for the patch ... 

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch, ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-15 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-433:


Status: Patch Available  (was: Open)

testing for hudson... 

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch, ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-08 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-433:
---

Attachment: ZOOKEEPER-433.patch

this fixes a problem with getacl on root (all virtual) nodes.

basically the acl for virtual nodes was -1, indicating default, which we 
weren't handling
properly before. now we map to OPEN ALL.

Added c and java tests, also fixed up the c docs a bit as well (added)


> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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



[jira] Updated: (ZOOKEEPER-433) getacl on root znode (/) fails

2009-06-08 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-433:
---

Status: Patch Available  (was: Open)

> getacl on root znode (/) fails
> --
>
> Key: ZOOKEEPER-433
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-433
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.1.1
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-433.patch
>
>
> running a "getAcl" on the root znode "/" fails with the following:
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,072 - ERROR 
> [CommitProcessor:3:finalrequestproces...@243] - Failed to process 
> sessionid:0x321b16868f40003 ty
> pe:getACL cxid:0x3 zxid:0xfffe txntype:unknown n/a 
> Fri Jun  5 10:21:17 2009: java.lang.NullPointerException
> Fri Jun  5 10:21:17 2009:   at 
> java.util.ArrayList.(ArrayList.java:131)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.DataTree.getACL(DataTree.java:622)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:216)
> Fri Jun  5 10:21:17 2009:   at 
> org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
> Fri Jun  5 10:21:17 2009: 2009-06-05 10:21:17,073 - ERROR 
> [CommitProcessor:3:finalrequestproces...@250] - Dumping request buffer: 
> 0x00012f
> We need to support getting/setting the root acl in particular -- not being 
> able to control acls on this node makes multi-tenancy a non-starter.

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