[jira] Updated: (ZOOKEEPER-29) Flexible quorums

2009-04-19 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

 Flexible quorums
 

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

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


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

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



[jira] Updated: (ZOOKEEPER-29) Flexible quorums

2009-04-19 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

I made an attempt at making the protocol backward compatible. Basically, a 
FollowerHandler is able to interpret both FOLLOWERINFO message and LASTZXID. If 
it receives a LASTZXID message, it generates a unique id number that does not 
correspond to the server id, but ti doesn't matter if we are using majority 
because for majority we only need to count votes. Of course, if a user tries to 
use hierarchical quorums with servers running older versions, it won't work.   

 Flexible quorums
 

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

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


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

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



[jira] Updated: (ZOOKEEPER-29) Flexible quorums

2009-04-19 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

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

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


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

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



[jira] Commented: (ZOOKEEPER-78) added a high level protocol/feature - for easy Leader Election or exclusive Write Lock creation

2009-04-19 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-78:


-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12405803/ZOOKEEPER-78.patch
  against trunk revision 766160.

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 39 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 findbugs.  The patch does not introduce any new Findbugs warnings.

-1 release audit.  The applied patch generated 111 release audit warnings 
(more than the trunk's current 105 warnings).

+1 core tests.  The patch passed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/41/testReport/
Release audit warnings: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/41/artifact/trunk/current/releaseAuditDiffWarnings.txt
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/41/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/41/console

This message is automatically generated.

 added a high level protocol/feature - for easy Leader Election or exclusive 
 Write Lock creation
 ---

 Key: ZOOKEEPER-78
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-78
 Project: Zookeeper
  Issue Type: New Feature
  Components: java client
Affects Versions: 3.0.0
Reporter: james strachan
Assignee: Mahadev konar
 Fix For: 3.2.0

 Attachments: patch_with_including_Benjamin's_fix.patch, 
 using_zookeeper_facade.patch, ZOOKEEPER-78.patch, ZOOKEEPER-78.patch, 
 ZOOKEEPER-78.patch, ZOOKEEPER-78.patch, ZOOKEEPER-78.patch, 
 ZOOKEEPER-78.patch, ZOOKEEPER-78.patch, ZOOKEEPER-78.patch, ZOOKEEPER-78.patch


 Here's a patch which adds a little WriteLock helper class for performing 
 leader elections or creating exclusive locks in some directory znode. Note 
 its an early cut; am sure we can improve it over time. The aim is to avoid 
 folks having to use the low level ZK stuff but provide a simpler high level 
 abstraction.

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



[jira] Updated: (ZOOKEEPER-377) running ant cppunit tests, a failure still results in BUILD SUCCESSFUL

2009-04-19 Thread Giridharan Kesavan (JIRA)

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

Giridharan Kesavan updated ZOOKEEPER-377:
-

Attachment: zookeeper-377.patch

this patch would fail the build on test failure.
tnx!


 running ant cppunit tests, a failure still results in BUILD SUCCESSFUL
 --

 Key: ZOOKEEPER-377
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-377
 Project: Zookeeper
  Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Patrick Hunt
Assignee: Giridharan Kesavan
Priority: Critical
 Fix For: 3.2.0

 Attachments: zookeeper-377.patch


 Giri, can you take a look at this?
 I ran ant test
 looks like this test failed:
  [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : 
 assertion
  
 then later...
  [exec] 
  [exec] 
 /home/phunt/dev/workspace/svnzk_apache/src/c/tests/TestOperations.cc:551: 
 Assertion: equality assertion failed [Expected: -4, Actual  : 0, 
 ZCONNECTIONLOSS != rc]
  [exec] Failures !!!
  [exec] Run: 38   Failure total: 1   Failures: 1   Errors: 0
  [exec] make: *** [run-check] Error 1
  [exec] Result: 2
 test-core:
 test-contrib:
 BUILD SUCCESSFUL
 Total time: 15 minutes 39 seconds

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



[jira] Updated: (ZOOKEEPER-377) running ant cppunit tests, a failure still results in BUILD SUCCESSFUL

2009-04-19 Thread Giridharan Kesavan (JIRA)

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

Giridharan Kesavan updated ZOOKEEPER-377:
-

Status: Patch Available  (was: Open)

 running ant cppunit tests, a failure still results in BUILD SUCCESSFUL
 --

 Key: ZOOKEEPER-377
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-377
 Project: Zookeeper
  Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Patrick Hunt
Assignee: Giridharan Kesavan
Priority: Critical
 Fix For: 3.2.0

 Attachments: zookeeper-377.patch


 Giri, can you take a look at this?
 I ran ant test
 looks like this test failed:
  [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : 
 assertion
  
 then later...
  [exec] 
  [exec] 
 /home/phunt/dev/workspace/svnzk_apache/src/c/tests/TestOperations.cc:551: 
 Assertion: equality assertion failed [Expected: -4, Actual  : 0, 
 ZCONNECTIONLOSS != rc]
  [exec] Failures !!!
  [exec] Run: 38   Failure total: 1   Failures: 1   Errors: 0
  [exec] make: *** [run-check] Error 1
  [exec] Result: 2
 test-core:
 test-contrib:
 BUILD SUCCESSFUL
 Total time: 15 minutes 39 seconds

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



[jira] Commented: (ZOOKEEPER-371) to implement jdiff

2009-04-19 Thread Giridharan Kesavan (JIRA)

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

Giridharan Kesavan commented on ZOOKEEPER-371:
--

-1 for the release audit is expected as the jdiff is creating files on the fly; 
but for the author tags I think I should talk to Nigel 
tnx!

 to implement jdiff 
 ---

 Key: ZOOKEEPER-371
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-371
 Project: Zookeeper
  Issue Type: Improvement
  Components: build
Affects Versions: 3.2.0
 Environment: to implement jdiff 
Reporter: Giridharan Kesavan
Assignee: Giridharan Kesavan
 Fix For: 3.2.0

 Attachments: zookeeper-371.patch




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