[jira] Updated: (ZOOKEEPER-133) hudson tests failing intermittently

2008-09-05 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-133:


Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed revision 692452.

 hudson tests failing intermittently
 ---

 Key: ZOOKEEPER-133
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-133
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.0.0
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.0.0

 Attachments: ZOOKEEPER-133.patch, ZOOKEEPER-133.patch


 There is a bug in the ClientTest.java unit test, timing issue in 
 withWatcherObj test. Patch forthcoming.

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



[jira] Created: (ZOOKEEPER-136) sync causes hang in all followers of quorum

2008-09-05 Thread Patrick Hunt (JIRA)
sync causes hang in all followers of quorum
---

 Key: ZOOKEEPER-136
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-136
 Project: Zookeeper
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.0.0


The attached test causes all of the followers of a quorum to hang. Leader 
continues to function correctly.

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



[jira] Updated: (ZOOKEEPER-136) sync causes hang in all followers of quorum

2008-09-05 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-136:
---

Attachment: testfails_ZOOKEEPER-136.patch

The TestSync test fails on my ubuntu 1core laptop.

the test basically:

starts a 5 server quroum

starts a client against each server (so 5 clients)

each client does the following (async ops) on a node it owns:
1) create node
2) sync node
3) setdata node
4) sync node
5) delete node
6) sync node
7) wait for all results of ops 1-6 to complete

each client does this 100 times in a loop then exits

I am seeing that in most cases the client attached to the leader runs to 
completion successfully.

However the clients attached to the followers stall out (eventually TIMEOUT) 
waiting for the 1) operation to return. 

 sync causes hang in all followers of quorum
 ---

 Key: ZOOKEEPER-136
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-136
 Project: Zookeeper
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.0.0

 Attachments: testfails_ZOOKEEPER-136.patch


 The attached test causes all of the followers of a quorum to hang. Leader 
 continues to function correctly.

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



[jira] Updated: (ZOOKEEPER-136) sync causes hang in all followers of quorum

2008-09-05 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-136:
---

Attachment: log_ZOOKEEPER-136.txt

look at time index 2008-09-05 10:53:03,911

 sync causes hang in all followers of quorum
 ---

 Key: ZOOKEEPER-136
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-136
 Project: Zookeeper
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.0.0

 Attachments: log_ZOOKEEPER-136.txt, testfails_ZOOKEEPER-136.patch


 The attached test causes all of the followers of a quorum to hang. Leader 
 continues to function correctly.

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



[jira] Updated: (ZOOKEEPER-132) Create Enum to replace CreateFlag in ZooKepper.create method

2008-09-05 Thread Jakob Homan (JIRA)

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

Jakob Homan updated ZOOKEEPER-132:
--

Status: Patch Available  (was: Open)

Re-did orignal patch per Ben's suggestion.

 Create Enum to replace CreateFlag in ZooKepper.create method
 

 Key: ZOOKEEPER-132
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-132
 Project: Zookeeper
  Issue Type: Sub-task
  Components: java client
Affects Versions: 3.0.0
Reporter: Jakob Homan
Assignee: Jakob Homan
 Fix For: 3.0.0

 Attachments: ZOOKEEPER-132.patch, ZOOKEEPER-132.patch


 Replace the current named constant integer in the craete method with a 
 typesafe enum value.

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



[jira] Updated: (ZOOKEEPER-112) src/java/main ZooKeeper.java has test code embedded into it.

2008-09-05 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-112:


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

Committed revision 692534.

 src/java/main ZooKeeper.java has test code embedded into it.
 

 Key: ZOOKEEPER-112
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-112
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.0.0

 Attachments: ZOOKEEPER-112.patch, ZOOKEEPER-112.patch, 
 ZOOKEEPER-112.patch


 src/java/main ZooKeeper.java has a method public void disconnect() that is 
 not part of the public api but put there for testing purposes (to test 
 disconnection of the client from the server w/o actually shutting down the 
 session)
 This method needs to be moved out of the public api. preferably we should 
 have a subclass in the test code itself that provides this method.

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



[jira] Updated: (ZOOKEEPER-38) headers (version+) in log/snap files

2008-09-05 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-38:
---

Attachment: ZOOKEEPER-38_3.patch

this is the latest updated patch that applies to the trunk ... 


 headers (version+) in log/snap files
 

 Key: ZOOKEEPER-38
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-38
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Mahadev konar
 Fix For: 3.0.0

 Attachments: ZOOKEEPER-38.patch, ZOOKEEPER-38.patch, 
 ZOOKEEPER-38.patch, ZOOKEEPER-38_1.patch, ZOOKEEPER-38_2.patch, 
 ZOOKEEPER-38_3.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1961767group_id=209147atid=1008547

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