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

2008-09-10 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-132:
--

Integrated in ZooKeeper-trunk #79 (See 
[http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/79/])

 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, 
 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] Commented: (ZOOKEEPER-118) findbugs flagged switch statement in followerrequestprocessor.run()

2008-09-10 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-118:
--

Integrated in ZooKeeper-trunk #79 (See 
[http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/79/])

 findbugs flagged switch statement in followerrequestprocessor.run()
 ---

 Key: ZOOKEEPER-118
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-118
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.0.0

 Attachments: ZOOKEEPER-118.patch


 followerrequestprocessor:
 is the case statement for SYNC supposed to fall through?
 switch (request.type) {
 case OpCode.sync:
 zks.pendingSyncs.add(request);
 case OpCode.create:
 Please update the docs/code appropriately (if correct note it with comment 
 just after the sync case statement.

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



[jira] Updated: (ZOOKEEPER-117) threading issues in Leader election

2008-09-10 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-117:
-

Attachment: ZOOKEEPER-117.patch

Modification to class FollowerCnxAcceptor to address Pat's comment.

 threading issues in Leader election
 ---

 Key: ZOOKEEPER-117
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-117
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-117.patch


 Leader.lead() creates a new thread that can never terminate (short of 
 restarting vm)
 naked notifyall in lead() method - what is the condition variable? Best if 
 set inside the sync block

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



[jira] Updated: (ZOOKEEPER-117) threading issues in Leader election

2008-09-10 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-117:
-

Attachment: (was: ZOOKEEPER-117.patch)

 threading issues in Leader election
 ---

 Key: ZOOKEEPER-117
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-117
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-117.patch


 Leader.lead() creates a new thread that can never terminate (short of 
 restarting vm)
 naked notifyall in lead() method - what is the condition variable? Best if 
 set inside the sync block

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



[jira] Updated: (ZOOKEEPER-117) threading issues in Leader election

2008-09-10 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-117:
---

Status: Patch Available  (was: Open)

 threading issues in Leader election
 ---

 Key: ZOOKEEPER-117
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-117
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-117.patch


 Leader.lead() creates a new thread that can never terminate (short of 
 restarting vm)
 naked notifyall in lead() method - what is the condition variable? Best if 
 set inside the sync block

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



[jira] Updated: (ZOOKEEPER-130) update build.xml to support apache release process

2008-09-10 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-130:


Status: Patch Available  (was: Open)

 update build.xml to support apache release process
 --

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

 Attachments: ZOOKEEPER-130.patch, ZOOKEEPER-130.patch


 update the build process to support tar and binary targets similar in 
 structure to hadoop-core build. this is needed as part of the 3.0.0 release 
 process.

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



[jira] Updated: (ZOOKEEPER-130) update build.xml to support apache release process

2008-09-10 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-130:


Attachment: ZOOKEEPER-130.patch

updates patch.. .fixed the problem mentioned earlier

 update build.xml to support apache release process
 --

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

 Attachments: ZOOKEEPER-130.patch, ZOOKEEPER-130.patch


 update the build process to support tar and binary targets similar in 
 structure to hadoop-core build. this is needed as part of the 3.0.0 release 
 process.

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



[jira] Updated: (ZOOKEEPER-117) threading issues in Leader election

2008-09-10 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-117:
---

Attachment: ZOOKEEPER-117.patch

Updated the patch a bit to log in both the expected and unexpected cases.

Note: there is a very small timing issue during shutdown where acceptor may 
return and result in a handler being added to the followers set, but this will 
eventually timeout on it's own.

 threading issues in Leader election
 ---

 Key: ZOOKEEPER-117
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-117
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-117.patch, ZOOKEEPER-117.patch


 Leader.lead() creates a new thread that can never terminate (short of 
 restarting vm)
 naked notifyall in lead() method - what is the condition variable? Best if 
 set inside the sync block

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



[jira] Updated: (ZOOKEEPER-117) threading issues in Leader election

2008-09-10 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-117:
---

Fix Version/s: 3.0.0
Affects Version/s: 3.0.0

 threading issues in Leader election
 ---

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

 Attachments: ZOOKEEPER-117.patch, ZOOKEEPER-117.patch


 Leader.lead() creates a new thread that can never terminate (short of 
 restarting vm)
 naked notifyall in lead() method - what is the condition variable? Best if 
 set inside the sync block

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



[jira] Created: (ZOOKEEPER-139) Create Enums for WatcherEvent's KeeperState and EventType

2008-09-10 Thread Jakob Homan (JIRA)
Create Enums for WatcherEvent's KeeperState and EventType
-

 Key: ZOOKEEPER-139
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-139
 Project: Zookeeper
  Issue Type: Sub-task
Reporter: Jakob Homan
Assignee: Jakob Homan




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



[jira] Updated: (ZOOKEEPER-139) Create Enums for WatcherEvent's KeeperState and EventType

2008-09-10 Thread Jakob Homan (JIRA)

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

Jakob Homan updated ZOOKEEPER-139:
--

Fix Version/s: 3.0.0
Affects Version/s: 3.0.0
   Status: Patch Available  (was: Open)

 Create Enums for WatcherEvent's KeeperState and EventType
 -

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

 Attachments: ZOOKEEPER-139.patch




-- 
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-10 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-136:


Attachment: ZOOKEEPER-136.patch

Added missing SyncTest.

 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: Benjamin Reed
 Fix For: 3.0.0

 Attachments: 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-10 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-136:


Status: Patch Available  (was: Open)

 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: Benjamin Reed
 Fix For: 3.0.0

 Attachments: 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.