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

2009-04-21 Thread Giridharan Kesavan (JIRA)

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

Giridharan Kesavan updated ZOOKEEPER-371:
-

Status: Patch Available  (was: Open)

> 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, zookeeper-371.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-371) to implement jdiff

2009-04-21 Thread Giridharan Kesavan (JIRA)

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

Giridharan Kesavan updated ZOOKEEPER-371:
-

Attachment: zookeeper-371.patch

this patch excludes jute package for jdiff



> 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, zookeeper-371.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-371) to implement jdiff

2009-04-21 Thread Giridharan Kesavan (JIRA)

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

Giridharan Kesavan updated ZOOKEEPER-371:
-

Status: Open  (was: Patch Available)

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



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

2009-04-21 Thread Giridharan Kesavan (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701379#action_12701379
 ] 

Giridharan Kesavan commented on ZOOKEEPER-371:
--

I'm working on recreating this patch to exclude the jute package.
-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.



[jira] Commented: (ZOOKEEPER-379) cppunit tests failed during hudson patch tests

2009-04-21 Thread Mahadev konar (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701344#action_12701344
 ] 

Mahadev konar commented on ZOOKEEPER-379:
-

I just took a loko at this.
it seems like the following happened -- 
- their was running java server by user gkesavan on vesta
- this java server could not be killed by hadoopqa since gkesavan was the owner
- the tests run against this server, and looks to see if a node does not exist, 
but it did since it was running against the server by gkesavan

i have killed the server by gkesavan (luckily it was runing a version of 
zookeepper where echo kill | nc localhost 22181 worked :))
now everything should be fine.

> cppunit tests failed during hudson patch tests 
> ---
>
> Key: ZOOKEEPER-379
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-379
> Project: Zookeeper
>  Issue Type: Bug
>  Components: tests
>Reporter: Giridharan Kesavan
>Assignee: Mahadev konar
>
> patch test build failed with " equality assertion failed"
> link: 
> http://hudson.zones.apache.org/hudson/view/ZooKeeper/job/Zookeeper-Patch-vesta.apache.org/44/console
> Mahadev,
> Could you take a look?
> Tnx!

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



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

2009-04-21 Thread Mahadev konar (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701307#action_12701307
 ] 

Mahadev konar commented on ZOOKEEPER-29:


this patch looks good. The only thing being -

- QuorumPeer should have a new constructor that adds a parameter rather than 
replacing the old parameter for backwards compatibility

other than that everything else looks good.

> 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, 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=detail&aid=1938782&group_id=209147&atid=1008547

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



Re: ZooKeeper's Atomic Broadcast & Leader Election Algorithms

2009-04-21 Thread Jason Dusek
2009/04/21 Mahadev Konar :
> 2009/04/21 Jason Dusek :
>> I'd like to know more about how these things are implemented
>> and how message loss and leader failure affect their
>> correctness.
>
> Hi Jason,
>
> You should be a able to get some idea from the set of
> presentations at
>
> http://wiki.apache.org/hadoop/ZooKeeper/ZooKeeperPresentations.
>
> Also, please use zookeeper-dev@hadoop.apache.org for questions
> which are not related to zookeeper users.

  Thank you for pointing me there -- most of the material I
  found seems to be more about what ZooKeeper can do, rather
  than how it works. I found the slides that describe ZAB.


http://wiki.apache.org/hadoop-data/attachments/ZooKeeper(2f)ZooKeeperPresentations/attachments/zk-talk-upc.pdf

  Has a more formal document been published?

--
Jason Dusek


[jira] Commented: (ZOOKEEPER-379) cppunit tests failed during hudson patch tests

2009-04-21 Thread Patrick Hunt (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701194#action_12701194
 ] 

Patrick Hunt commented on ZOOKEEPER-379:


Take a look at zkServer.sh in the src/c/tests subdirectory

This is run as part of the setup for the test that's failing (first time it's 
run during the test)

Notice that fuser is run early in the setup, I don't see this on 
hudson.zones.apache.org (although I don't know where the tests are actually 
running?)

You might checkout this script and ensure it's able to run on the target system.

Also, I recently submitted a patch to fix a similar problem in the 
trunk/bin/zkServer.sh file. Basically
I now store the pid file and use kill to stop the server. You might want to try 
out that patch on this
script. Or if you can identify this as the problem let me know and I'll submit 
a patch.


> cppunit tests failed during hudson patch tests 
> ---
>
> Key: ZOOKEEPER-379
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-379
> Project: Zookeeper
>  Issue Type: Bug
>  Components: tests
>Reporter: Giridharan Kesavan
>Assignee: Mahadev konar
>
> patch test build failed with " equality assertion failed"
> link: 
> http://hudson.zones.apache.org/hudson/view/ZooKeeper/job/Zookeeper-Patch-vesta.apache.org/44/console
> Mahadev,
> Could you take a look?
> Tnx!

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



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

2009-04-21 Thread Patrick Hunt (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701191#action_12701191
 ] 

Patrick Hunt commented on ZOOKEEPER-29:
---

Giri is working on getting cppunit integrated into the patch/build process on 
hudson.

There was a recent change where cppunit failures used to be ignored, now they 
are not.
Try pinging Giri.


> 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, 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=detail&aid=1938782&group_id=209147&atid=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-29) Flexible quorums

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

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701139#action_12701139
 ] 

Flavio Paiva Junqueira commented on ZOOKEEPER-29:
-

There is something strange with the test result. If we check the console output 
of test number 45 (the latest one for this patch), we find:

{noformat}
[exec]  [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
 [exec]  [exec] 
 [exec]  [exec] 
/home/hudson/hudson-slave/workspace/Zookeeper-Patch-vesta.apache.org/trunk/src/c/tests/TestClient.cc:273:
 Assertion: equality assertion failed [Expected: -101, Actual  : 0]
 [exec]  [exec] Failures !!!
 [exec]  [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
 [exec]  [exec] make: *** [run-check] Error 1
 [exec] 
 [exec] BUILD FAILED
 [exec] 
/home/hudson/hudson-slave/workspace/Zookeeper-Patch-vesta.apache.org/trunk/build.xml:612:
 The following error occurred while executing this line:
 [exec] 
/home/hudson/hudson-slave/workspace/Zookeeper-Patch-vesta.apache.org/trunk/build.xml:622:
 exec returned: 2
 [exec] 
 [exec] Total time: 8 minutes 52 seconds
{noformat}

This same failure also appears in the trunk test, but it doesn't cause the 
whole check to fail:

{noformat}
[exec] 
/home/hudson/hudson-slave/workspace/ZooKeeper-trunk/trunk/src/c/tests/TestClient.cc:273:
 Assertion: equality assertion failed [Expected: -101, Actual  : 0]
 [exec] Failures !!!
 [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
 [exec] make: *** [run-check] Error 1
 [exec] Result: 2

test-core-cppunit:

test-core:

test-contrib:

BUILD SUCCESSFUL
Total time: 9 minutes 32 seconds
Recording fingerprints
Publishing Javadoc
Recording test results
finished: SUCCESS
{noformat}

Am I reading it wrong?


> 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, 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=detail&aid=1938782&group_id=209147&atid=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-29) Flexible quorums

2009-04-21 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701137#action_12701137
 ] 

Hadoop QA commented on ZOOKEEPER-29:


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

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

+1 tests included.  The patch appears to include 22 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 does not increase the total number of 
release audit warnings.

-1 core tests.  The patch failed 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/45/testReport/
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/45/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/45/console

This message is automatically generated.

> 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, 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=detail&aid=1938782&group_id=209147&atid=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-21 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'm replacing LASTZXID with FOLLOWERINFO. Also, I checked the results of QA and 
it seems to be failing on a C client test, which is unrelated to this issue. In 
fact, when I follow the link to the test results, it says that no test has 
failed, but if you look at the console output there is a failure for one of the 
C tests:

{noformat}
[exec]  [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
 [exec]  [exec] 
 [exec]  [exec] 
/home/hudson/hudson-slave/workspace/Zookeeper-Patch-vesta.apache.org/trunk/src/c/tests/TestClient.cc:273:
 Assertion: equality assertion failed [Expected: -101, Actual  : 0]
 [exec]  [exec] Failures !!!
 [exec]  [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
{noformat}

> 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, 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=detail&aid=1938782&group_id=209147&atid=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-21 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, 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=detail&aid=1938782&group_id=209147&atid=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-21 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, 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=detail&aid=1938782&group_id=209147&atid=1008547

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