[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-30 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-231:
---

Status: Open  (was: Patch Available)

there are a number of issues I found, I have an updated patch in progress

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-30 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-231:
---

Status: Patch Available  (was: Open)

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-28 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

Refactored the QuorumTest to create a quorumBase class like clientbase. Had to 
make some changes in the testcases to get it to working after the refactoring.

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-26 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

added a junit test to run with QUorum for quotas.

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-23 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

Here is the latest patch. THis patch has the following -- 

- quota can be set via the commadn line using setQuota -n|-b path
- quota can be deleted via the commandline using delQuota [-n|-b] path 
- setting quota for a node that does not exist will throw an exception
- setting quota for a node that has an ancestor or a descendant that has a 
quota cannot be set
- includes a simeple test case -- their are lot of corner cases. I am still 
trying to add more
- includes documentation (please review the documentation to see if you 
understand how to use quotas)
- their are a lot of corner cases --- feel free to test them and mention it on 
the jira -- i will tru and write a test case for that.

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-21 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

fixed a bug that i found while debugging...

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-20 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Status: Patch Available  (was: Open)

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-20 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

this patch includes a test and documentation. The only thing I have to change 
is to allow setting quota only for paths athat exist. I will be adding more 
tests and more documentation. I will make it patch available to get early 
feedback.. 

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch, ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-16 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

updated patch ... shaked out some bugs... still needs tests and 
documentation... please review the code ill be making some changes  but 
not drastic ones... the one thing to keep in mind is htat the current code 
forbids setting of quota if a path does not already exist (just an easier 
implementation choice) ... I will be changing that to setting of quota only if 
a path exists.

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-13 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

here is a more recent patch (needs testing). it does not include tests and docs 
-- will be adding them. 

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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



[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-07 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

here is a preliminary patch for qutoa's. This is not fully complete -- lacking 
tests, documentation and a few minor features, which I will be adding shortly. 
The design is based on whats discussed above. COmments are welcome.

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

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