[jira] Resolved: (ZOOKEEPER-617) improve cluster setup documentation in forrest

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar resolved ZOOKEEPER-617.
-

Resolution: Fixed

resolved as part of ZOOKEEPER-601.

 improve cluster setup documentation in forrest
 --

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


 http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html#sc_zkMulitServerSetup
 1) the config file is missing line returns
 2) call out setting up the myid file as it's own bullet, otw it's too easy to 
 miss
 3) we should make sure the values we use in examples are consistent, and 
 resonable defaults

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



[jira] Updated: (ZOOKEEPER-601) allow configuration of session timeout min/max bounds

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-601:


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

I just committed this. thanks pat.

 allow configuration of session timeout min/max bounds
 -

 Key: ZOOKEEPER-601
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-601
 Project: Zookeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-601.patch, ZOOKEEPER-601.patch


 ZK servers currently enforce a min/max boundary on client session timeout 
 relative to the ticktime setting, detailed here:
 http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#ch_zkSessions
 In general there are good reasons for this however in some cases, in 
 particular with HBase region servers, we have seen a need to allow this bound 
 to be set differently (higher). The Sun jvm can GC pause for very long times 
 (in some cases we've seen 4 minutes even with the realtime gc.
 It would be good to allow this bound to be set via configuration parameters. 
 Note: 4letterword and JMX integration would be needed.

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



[jira] Resolved: (ZOOKEEPER-595) A means of asking quorum what conifguration it is running with

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar resolved ZOOKEEPER-595.
-

Resolution: Fixed

committed  as part of ZOOKEEPER-601.

 A means of asking quorum what conifguration it is running with
 --

 Key: ZOOKEEPER-595
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-595
 Project: Zookeeper
  Issue Type: Improvement
  Components: jmx, server
Reporter: stack
Assignee: Patrick Hunt
 Fix For: 3.3.0


 I'd like to ask a running quorum what its configuration is.  I'd want to know 
 stuff like session timeout and tick times.
 Use case is that in hbase there is no zoo.cfg usually; the configuration is 
 manufactured and piped to the starting zk server.  I want to know if all of 
 the manufactured config. 'took' or how zk interpreted it.

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



[jira] Resolved: (ZOOKEEPER-667) java client doesn't allow ipv6 numeric connect string

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar resolved ZOOKEEPER-667.
-

Resolution: Fixed

resolved in ZOOKEEPER-635.


 java client doesn't allow ipv6 numeric connect string
 -

 Key: ZOOKEEPER-667
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-667
 Project: Zookeeper
  Issue Type: Bug
  Components: java client
Affects Versions: 3.2.2
Reporter: Patrick Hunt
Assignee: Patrick Hunt
Priority: Critical
 Fix For: 3.3.0


 The java client doesn't handle ipv6 numeric addresses as they are colon (:) 
 delmited. After splitting the host/port on : we look for the port as the 
 second entry in the array rather than the last entry in the array.

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



[jira] Updated: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-604:


Attachment: ZOOKEEPER-604.patch

this patch fixes the issue by using libtool -symbols-export-regex. 



 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Updated: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-604:


Status: Patch Available  (was: Open)

 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.2, 3.2.1, 3.2.0, 3.1.2, 3.1.1, 3.1.0, 3.0.1, 3.0.0, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-586:


Status: Open  (was: Patch Available)

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-586:


Attachment: ZOOKEEPER-586.patch

refreshed to work with trunk and cygwin 1.7. (we should check that it still 
compiles under earlier cygwin versions.)

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-586:


Status: Patch Available  (was: Open)

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Issue Comment Edited: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar edited comment on ZOOKEEPER-604 at 3/12/10 9:37 PM:
--

checked objdump -T on hudson machines, it works! 

  was (Author: mahadev):
check objdump -T on hudson machines, it works! 
  
 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Commented: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar commented on ZOOKEEPER-604:
-

check objdump -T on hudson machines, it works! 

 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Commented: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed commented on ZOOKEEPER-604:
-

+1 nice patch. simple.

 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Updated: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-604:


Hadoop Flags: [Reviewed]

 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Updated: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-604:


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

I just committed this.

 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Commented: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2010-03-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-604:
-

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

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

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no tests are needed for this patch.

+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 passed core unit tests.

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

Test results: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/17/testReport/
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/17/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/17/console

This message is automatically generated.

 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Assignee: Mahadev konar
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-604.patch


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Commented: (ZOOKEEPER-121) SyncRequestProcessor is not closing log stream during shutdown

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed commented on ZOOKEEPER-121:
-

+1 looks good

 SyncRequestProcessor is not closing log stream during shutdown
 --

 Key: ZOOKEEPER-121
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-121
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Mahadev konar
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-121.patch, ZOOKEEPER-121.patch


 The SyncRequestProcessor is not closing log stream during shutdown. 
 See FIXMEs with this ID in ClientBase.java -- I've commented out the 
 assertion for the time being (checking for logs being deleted), as part of 
 this fix re-enable these asserts and also verify tests on a Windows system.

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



[jira] Updated: (ZOOKEEPER-121) SyncRequestProcessor is not closing log stream during shutdown

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-121:


Status: Patch Available  (was: Open)

running hudson... 

 SyncRequestProcessor is not closing log stream during shutdown
 --

 Key: ZOOKEEPER-121
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-121
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Mahadev konar
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-121.patch, ZOOKEEPER-121.patch


 The SyncRequestProcessor is not closing log stream during shutdown. 
 See FIXMEs with this ID in ClientBase.java -- I've commented out the 
 assertion for the time being (checking for logs being deleted), as part of 
 this fix re-enable these asserts and also verify tests on a Windows system.

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



[jira] Updated: (ZOOKEEPER-121) SyncRequestProcessor is not closing log stream during shutdown

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-121:


Status: Open  (was: Patch Available)

 SyncRequestProcessor is not closing log stream during shutdown
 --

 Key: ZOOKEEPER-121
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-121
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Mahadev konar
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-121.patch, ZOOKEEPER-121.patch


 The SyncRequestProcessor is not closing log stream during shutdown. 
 See FIXMEs with this ID in ClientBase.java -- I've commented out the 
 assertion for the time being (checking for logs being deleted), as part of 
 this fix re-enable these asserts and also verify tests on a Windows system.

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



[jira] Updated: (ZOOKEEPER-121) SyncRequestProcessor is not closing log stream during shutdown

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-121:


Hadoop Flags: [Reviewed]

 SyncRequestProcessor is not closing log stream during shutdown
 --

 Key: ZOOKEEPER-121
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-121
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Mahadev konar
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-121.patch, ZOOKEEPER-121.patch


 The SyncRequestProcessor is not closing log stream during shutdown. 
 See FIXMEs with this ID in ClientBase.java -- I've commented out the 
 assertion for the time being (checking for logs being deleted), as part of 
 this fix re-enable these asserts and also verify tests on a Windows system.

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



[jira] Created: (ZOOKEEPER-698) intermittent JMX test failures due to not verifying QuorumPeer shutdown

2010-03-12 Thread Patrick Hunt (JIRA)
intermittent JMX test failures due to not verifying QuorumPeer shutdown 


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


in some cases the tests are failing with JMX errors. From the logs I can see 
that QP was shutdown, however it did not exit it's thread until some time much 
later. This is causing interference with subsequent tests, causing the test to 
fail.

I have a patch that attempts to verify that the QP was shutdown (by joining the 
thread). It turns out that tests based on QuorumBase do this check (join) 
however some of the other tests do not. I believe this will address the issue.

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



[jira] Commented: (ZOOKEEPER-121) SyncRequestProcessor is not closing log stream during shutdown

2010-03-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-121:
-

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12438266/ZOOKEEPER-121.patch
  against trunk revision 922433.

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

+1 tests included.  The patch appears to include 3 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 passed core unit tests.

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

Test results: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/18/testReport/
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/18/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/18/console

This message is automatically generated.

 SyncRequestProcessor is not closing log stream during shutdown
 --

 Key: ZOOKEEPER-121
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-121
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Mahadev konar
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-121.patch, ZOOKEEPER-121.patch


 The SyncRequestProcessor is not closing log stream during shutdown. 
 See FIXMEs with this ID in ClientBase.java -- I've commented out the 
 assertion for the time being (checking for logs being deleted), as part of 
 this fix re-enable these asserts and also verify tests on a Windows system.

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



[jira] Updated: (ZOOKEEPER-698) intermittent JMX test failures due to not verifying QuorumPeer shutdown

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-698:
---

Status: Patch Available  (was: Open)

 intermittent JMX test failures due to not verifying QuorumPeer shutdown 
 

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

 Attachments: ZOOKEEPER-698.patch


 in some cases the tests are failing with JMX errors. From the logs I can see 
 that QP was shutdown, however it did not exit it's thread until some time 
 much later. This is causing interference with subsequent tests, causing the 
 test to fail.
 I have a patch that attempts to verify that the QP was shutdown (by joining 
 the thread). It turns out that tests based on QuorumBase do this check (join) 
 however some of the other tests do not. I believe this will address the issue.

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



[jira] Updated: (ZOOKEEPER-698) intermittent JMX test failures due to not verifying QuorumPeer shutdown

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-698:
---

Attachment: ZOOKEEPER-698.patch

This patch addresses the problem of verifying that the QPs were actually shut 
down. Passes my tests and should address this problem.

 intermittent JMX test failures due to not verifying QuorumPeer shutdown 
 

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

 Attachments: ZOOKEEPER-698.patch


 in some cases the tests are failing with JMX errors. From the logs I can see 
 that QP was shutdown, however it did not exit it's thread until some time 
 much later. This is causing interference with subsequent tests, causing the 
 test to fail.
 I have a patch that attempts to verify that the QP was shutdown (by joining 
 the thread). It turns out that tests based on QuorumBase do this check (join) 
 however some of the other tests do not. I believe this will address the issue.

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



[jira] Updated: (ZOOKEEPER-121) SyncRequestProcessor is not closing log stream during shutdown

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-121:


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

I just committed this.

 SyncRequestProcessor is not closing log stream during shutdown
 --

 Key: ZOOKEEPER-121
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-121
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Reporter: Patrick Hunt
Assignee: Mahadev konar
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-121.patch, ZOOKEEPER-121.patch


 The SyncRequestProcessor is not closing log stream during shutdown. 
 See FIXMEs with this ID in ClientBase.java -- I've commented out the 
 assertion for the time being (checking for logs being deleted), as part of 
 this fix re-enable these asserts and also verify tests on a Windows system.

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-586:


Status: Open  (was: Patch Available)

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-586:


Status: Patch Available  (was: Open)

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Commented: (ZOOKEEPER-698) intermittent JMX test failures due to not verifying QuorumPeer shutdown

2010-03-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-698:
-

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12438649/ZOOKEEPER-698.patch
  against trunk revision 922442.

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

+1 tests included.  The patch appears to include 45 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 passed core unit tests.

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

Test results: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/19/testReport/
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/19/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/19/console

This message is automatically generated.

 intermittent JMX test failures due to not verifying QuorumPeer shutdown 
 

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

 Attachments: ZOOKEEPER-698.patch


 in some cases the tests are failing with JMX errors. From the logs I can see 
 that QP was shutdown, however it did not exit it's thread until some time 
 much later. This is causing interference with subsequent tests, causing the 
 test to fail.
 I have a patch that attempts to verify that the QP was shutdown (by joining 
 the thread). It turns out that tests based on QuorumBase do this check (join) 
 however some of the other tests do not. I believe this will address the issue.

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-586:
---

Status: Open  (was: Patch Available)

I'm seeing two issues on cygwin 15:

 src/zookeeper.c: In function `send_set_watches':
src/zookeeper.c:1286: warning: passing arg 2 of `collect_keys' from incompatible
 pointer type
src/zookeeper.c:1287: warning: passing arg 2 of `collect_keys' from incompatible
 pointer type
src/zookeeper.c:1288: warning: passing arg 2 of `collect_keys' from incompatible
 pointer type
make: *** [zookeeper.lo] Error 1

if you cast the second args to (int*) it fixes the issue.

The second problem is:
 ./libtool: eval: line 1005: syntax error near unexpected token `|'
./libtool: eval: line 1005: `/usr/bin/nm -B   ./.libs/libzkst.a ./.libs/libhasht
able.a |  | /usr/bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__n
m__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //' | sort | uniq  .lib

notice the | | btw the nm and sed calls, what's supposed to be here?


 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Updated: (ZOOKEEPER-698) intermittent JMX test failures due to not verifying QuorumPeer shutdown

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-698:


Hadoop Flags: [Reviewed]

+1 looks good pat. nice cleanup.

 intermittent JMX test failures due to not verifying QuorumPeer shutdown 
 

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

 Attachments: ZOOKEEPER-698.patch


 in some cases the tests are failing with JMX errors. From the logs I can see 
 that QP was shutdown, however it did not exit it's thread until some time 
 much later. This is causing interference with subsequent tests, causing the 
 test to fail.
 I have a patch that attempts to verify that the QP was shutdown (by joining 
 the thread). It turns out that tests based on QuorumBase do this check (join) 
 however some of the other tests do not. I believe this will address the issue.

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



[jira] Updated: (ZOOKEEPER-680) Including quorum config when standalone leads to crash

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-680:
---

Fix Version/s: (was: 3.3.0)
   3.4.0

pushing to 3.4.0, not a blocker.

 Including quorum config when standalone leads to crash
 --

 Key: ZOOKEEPER-680
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-680
 Project: Zookeeper
  Issue Type: Bug
  Components: server
Affects Versions: 3.2.2
 Environment: RHEL
Reporter: Vegard B. Havdal
Assignee: Patrick Hunt
Priority: Minor
 Fix For: 3.4.0


 Include server.#=... and/or a myid file when running standalone, zk server 
 will crash with
 java.lang.NullPointerException
at 
 org.apache.zookeeper.server.quorum.FastLeaderElection.totalOrderPredicate(FastLeaderElection.java:466)
at 
 org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:635)
at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:515)
 Seen when running zk embedded in other server, using
 String[] args = new String[]{zookeeperCfgFile};
 org.apache.zookeeper.server.quorum.QuorumPeerMain.main(args);
 The workaround is of course to fix the config, but 3.1.1 managed to not crash 
 on this.

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



[jira] Commented: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-586:


I got around the libtool problem by copying /usr/bin/libtool over the version 
generated by ./configure, that got me past that issue.

however now I see the following :

tests/LibCMocks.cc: In function `long int random()':
tests/LibCMocks.cc:170: error: new declaration `long int random()'
/usr/include/cygwin/stdlib.h:27: error: ambiguates old declaration `int random()
'
make[1]: *** [zktest_st-LibCMocks.o] Error 1

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Commented: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed commented on ZOOKEEPER-586:
-

yeah on cygwin 1.7 random returns a long int. which is what linux does as well. 
cygwin 1.5 returns an int. do we want to support both? it's making the code a 
bit ugly with all the ifdefs for a platform we really don't support.

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Commented: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-586:


I think so. If we want it to work.

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Created: (ZOOKEEPER-699) Optimizations for WAN Deployments

2010-03-12 Thread Henry Robinson (JIRA)
Optimizations for WAN Deployments
-

 Key: ZOOKEEPER-699
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-699
 Project: Zookeeper
  Issue Type: Wish
Reporter: Henry Robinson


Optimizations for WAN Deployments

Possible Mentor
Henry Robinson (henry at apache dot org)

Requirements
Java, some networking familiarity

Description
ZK 3.3.0 added observers which are non-voting members of a ZK ensemble. One use 
case for observers is as a proxy to a remote voting ensemble, say in a 
different data center. Since observers do not need to vote, there are less 
strict latency requirements on the delivery of messages to them. WAN traffic is 
also expensive. This project would investigate and implement batching of 
messages to observers, and potential mechanisms for decreasing the number of 
messages that need to be sent. For example, a destructive update to a znode 
twice in a row does not theoretically need to be sent twice - although making 
this work correctly with ZAB will be a challenge.

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



[jira] Updated: (ZOOKEEPER-703) GSoC 2010: ZooKeeper DNS Server

2010-03-12 Thread Henry Robinson (JIRA)

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

Henry Robinson updated ZOOKEEPER-703:
-

Summary: GSoC 2010: ZooKeeper DNS Server  (was: ZooKeeper DNS Server)

 GSoC 2010: ZooKeeper DNS Server
 ---

 Key: ZOOKEEPER-703
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-703
 Project: Zookeeper
  Issue Type: Wish
Reporter: Henry Robinson

 ZooKeeper DNS Server
 Possible Mentor
 Henry Robinson (henry at apache dot org)
 Requirements
 Java or Python or C
 Description
 Although ZooKeeper is primarily used for co-ordination of distributed 
 processes, its consistency semantics means that it's a good candidate for 
 serving small (key,value) records as well. The Domain Name Service has 
 similar requirements, raising the interesting question of whether ZooKeeper 
 would be a capable DNS server for your local network. One intriguing 
 possibility is having versioned DNS records, such that known-good 
 configurations can be stored and rolled back to in the case of an issue. If 
 this versioning primitive proves to be useful, it's easy to imagine other 
 types of configuration that could be stored.
 This project would involve designing and building an RFC-1035 compliant DNS 
 server and performing a detailed performance study against an already 
 existant simple DNS server like tinydns.

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



[jira] Updated: (ZOOKEEPER-701) GSoC 2010: Web-based Administrative Interface

2010-03-12 Thread Henry Robinson (JIRA)

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

Henry Robinson updated ZOOKEEPER-701:
-

Summary: GSoC 2010: Web-based Administrative Interface  (was: Web-based 
Administrative Interface)

 GSoC 2010: Web-based Administrative Interface
 -

 Key: ZOOKEEPER-701
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-701
 Project: Zookeeper
  Issue Type: Wish
Reporter: Henry Robinson

 Web-based Administrative Interface
 Possible Mentor
 Henry Robinson (henry at apache dot org)
 Requirements
 Modern web platform - e.g. Django. Some design or UI skills would help. Java 
 for adding methods to ZooKeeper.
 Description
 ZooKeeper is a complex distributed system. Understanding how well it is 
 running is tremendously important. Patrick Hunt has created a Django-based 
 dashboard (see http://github.com/phunt/zookeeper_dashboard#readme) that 
 allows some insight into how ZooKeeper is running. This is a great foundation 
 on which to build; however there are improvements that could be made! This 
 project would capture much more information from ZooKeeper, adding hooks to 
 retrieve it where necessary and visualise it in a appealing and useful way. 
 Integration with Ganglia would be a definite plus.

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



[jira] Updated: (ZOOKEEPER-702) GSoC 2010: Failure Detector Model

2010-03-12 Thread Henry Robinson (JIRA)

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

Henry Robinson updated ZOOKEEPER-702:
-

Summary: GSoC 2010: Failure Detector Model  (was: Failure Detector Model)

 GSoC 2010: Failure Detector Model
 -

 Key: ZOOKEEPER-702
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-702
 Project: Zookeeper
  Issue Type: Wish
Reporter: Henry Robinson

 Failure Detector Module
 Possible Mentor
 Henry Robinson (henry at apache dot org)
 Requirements
 Java, some distributed systems knowledge, comfort implementing distributed 
 systems protocols
 Description
 ZooKeeper servers detects the failure of other servers and clients by 
 counting the number of 'ticks' for which it doesn't get a heartbeat from 
 other machines. This is the 'timeout' method of failure detection and works 
 very well; however it is possible that it is too aggressive and not easily 
 tuned for some more unusual ZooKeeper installations (such as in a wide-area 
 network, or even in a mobile ad-hoc network).
 This project would abstract the notion of failure detection to a dedicated 
 Java module, and implement several failure detectors to compare and contrast 
 their appropriateness for ZooKeeper. For example, Apache Cassandra uses a 
 phi-accrual failure detector (http://ddsg.jaist.ac.jp/pub/HDY+04.pdf) which 
 is much more tunable and has some very interesting properties. This is a 
 great project if you are interested in distributed algorithms, or want to 
 help re-factor some of ZooKeeper's internal code.

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



[jira] Commented: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-586:


I don't think an extra ifdef is going to pull down the quality of that code 
much. 1.7 only recently came out. think of all the users still on 1.5. Doesn't 
seem like a big deal to me to add it.

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Updated: (ZOOKEEPER-675) LETest thread fails to join

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-675:
---

Fix Version/s: (was: 3.3.0)
   3.4.0

turned out not to be the issue ben was seeing, moving back to 3.4.0

 LETest thread fails to join
 ---

 Key: ZOOKEEPER-675
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-675
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Reporter: Flavio Paiva Junqueira
Assignee: Henry Robinson
Priority: Critical
 Fix For: 3.4.0

 Attachments: TEST-org.apache.zookeeper.test.LETest.txt


 After applying the patch of ZOOKEEPER-569, I observed a failure of LETest. 
 From a cursory inspection of the log, I can tell that a leader is being 
 elected, but some thread is not joining. At this point I'm not sure if this 
 is a problem with the leader election implementation or the test itself. 
 Just to be clear, the patch of ZOOKEEPER-569 solved a real issue, but it 
 seems that there is yet another problem with LETest.

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-586:


Attachment: ZOOKEEPER-586.patch

made to work with 1.5

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Commented: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-586:


looks good, compiles cleanly now (well there's still that libtool issue, but 
nothing we can do onthat afaict)

ran cli_mt and cli_st against a running zk server and it worked fine.


 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-586:


Status: Patch Available  (was: Open)

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Updated: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-586:


Hadoop Flags: [Reviewed]

+1 great job pat.

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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



[jira] Commented: (ZOOKEEPER-586) c client does not compile under cygwin

2010-03-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-586:
-

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

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

+1 tests included.  The patch appears to include 29 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-h1.grid.sp2.yahoo.net/20/testReport/
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/20/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/20/console

This message is automatically generated.

 c client does not compile under cygwin
 --

 Key: ZOOKEEPER-586
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.2.1
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
 ZOOKEEPER-586.patch


 the c client fails to compile under cygwin

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