[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-11-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-550:


Attachment: ZOOKEEPER-550.patch

Minor changes to README.txt in src/recipes to explain how to run c tests in 
src/recipes/$recipename/src/c. I think just documenting it is fine. Ill commit 
this patch to the trunk.

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-11-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-550:


  Resolution: Fixed
Hadoop Flags: [Reviewed]
  Status: Resolved  (was: Patch Available)

I just committed this. thanks steven. I changed the permissions on the scripts 
to be svn executable, so it should be fine now.

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-11-09 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Status: In Progress  (was: Patch Available)

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-11-09 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Attachment: ZOOKEEPER-550.patch

Added threaded test cases to C and Java recipes, uncovered a few bugs in the 
Java version where too many methods were synchronized, and orderedChildren() 
needs to throw the NoNodeException so that take() works properly.


 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-11-09 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Status: Patch Available  (was: In Progress)

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-29 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-550:


Status: Open  (was: Patch Available)

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-29 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Attachment: ZOOKEEPER-550.patch

Sorry, missed that, fixed in this patch.


 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-26 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Status: In Progress  (was: Patch Available)

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-26 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Status: Patch Available  (was: In Progress)

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-24 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Attachment: ZOOKEEPER-550.patch

Java and C queue recipe.  Tests included pass.  Please review.

The autotools config was copied from the lock recipe, I think I changed all the 
right strings and added the right files to SVN.

This also includes a small fix for the zkServer.sh in the lock recipe.


 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-21 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-550:
---

Status: Patch Available  (was: Open)

this ready? what's hadoopqabot say, submitting.

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-18 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Attachment: ZOOKEEPER-550.patch

bq. 1)  Sorry, didn't create a patch for the README since it was a small 
change, it is included in this patch with the comment revision.



 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-14 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-550:
---

Status: Open  (was: Patch Available)

Canceling the patch for now, but I'm glad to see additional recipes being 
contributed!

A few suggestions:

1) we don't allow tabs in the source, please use spaces for indentation 
(eclipse can help with this)
2) please add a  README.txt similar to what's available in the lock recipe. 
this is important to have, otw potential
  users won't know the details on how the queue is being implemented 
(semantics). The lock recipe essentially just
  points to the std recipe docs for example, you probably can do similar if 
your impl is based on the recipe doc.
3) we really want to maintain parity btw java and c, any chance you could 
implement the c recipe as well?

Great to see tests!

Mahadev, it would be good if you could review this give that you implemented 
the lock recipe.

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-14 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Attachment: ZOOKEEPER-550.patch

Changed tabs to spaces and added a README.txt which is a copy from the lock 
version but without reference to a C implementation.

I'll get started on a C version, the C lock recipe is a nice base to start 
from.  Should the C version be submitted under this JIRA as well?


 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Assignee: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, 
 ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-13 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Status: Patch Available  (was: Open)

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-12 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Attachment: ZOOKEEPER-550.patch

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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



[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe

2009-10-09 Thread Steven Cheng (JIRA)

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

Steven Cheng updated ZOOKEEPER-550:
---

Attachment: ZOOKEEPER-550.patch

 Java Queue Recipe
 -

 Key: ZOOKEEPER-550
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.2.1
Reporter: Steven Cheng
Priority: Minor
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-550.patch


 This patch adds a recipe for creating a distributed queue with ZooKeeper 
 similar to the WriteLock recipe and some sequential tests.  This early 
 attempt follows the Java BlockingQueue interface, though it doesn't implement 
 it since I don't think there's a good reason for it to be Iterable.  

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