[jira] Commented: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-29 Thread Chris Darroch (JIRA)

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

Chris Darroch commented on ZOOKEEPER-378:
-

Thanks for the commit!  I'll try to submit patch updates to keep in sync with 
any C API changes.

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Reporter: Chris Darroch
Assignee: Chris Darroch
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-378.patch, ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Commented: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-28 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-378:
--

Integrated in ZooKeeper-trunk #293 (See 
[http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/293/])
. perl binding for zookeeper (chris darroch via mahadev)


 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Reporter: Chris Darroch
Assignee: Chris Darroch
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-378.patch, ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Commented: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-27 Thread Mahadev konar (JIRA)

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

Mahadev konar commented on ZOOKEEPER-378:
-

+1 to the patch ... the console output is c++ test failure which has nothign to 
do with the tests in the bindings.
we should fix the release audit link. I have never bothered to do fix it since 
you can get tot the page from top level page
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/50/



 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.2.0, 4.0.0
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: ZOOKEEPER-378.patch, ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Updated: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-24 Thread Chris Darroch (JIRA)

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

Chris Darroch updated ZOOKEEPER-378:


Attachment: (was: Net-ZooKeeper-0.33.tar.gz)

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Updated: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-24 Thread Chris Darroch (JIRA)

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

Chris Darroch updated ZOOKEEPER-378:


Attachment: ZOOKEEPER-378.patch

Patch file against trunk.

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Commented: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-24 Thread Chris Darroch (JIRA)

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

Chris Darroch commented on ZOOKEEPER-378:
-

Down the road a little, it would be nice to get the build.xml file to do a 
little more; e.g., build after the C client libs are built, and then run 
ZK_TEST_HOSTS=localhost:22181 make test after running 
src/c/tests/zkServer.sh startClean.  Probably worth a separate Jira issue, 
though.

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.2.0, 4.0.0
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Commented: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-24 Thread Mahadev konar (JIRA)

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

Mahadev konar commented on ZOOKEEPER-378:
-

the patch failed because of changes to CHANGES.txt. Chris, you do not have to 
submit chnages to CHANGES.txt (that is changed by committers when committing a 
patch). ill just remove the chnages to CHANGES.txt for now.



 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.2.0, 4.0.0
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Updated: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-24 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-378:


Attachment: ZOOKEEPER-378.patch

patch without changes tio CHANGES.txt

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.2.0, 4.0.0
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: ZOOKEEPER-378.patch, ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Updated: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-24 Thread Chris Darroch (JIRA)

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

Chris Darroch updated ZOOKEEPER-378:


Affects Version/s: (was: 3.1.1)
   (was: 3.0.1)
   (was: 3.1.0)
   (was: 3.0.0)
   4.0.0
   3.2.0
 Release Note: Net::ZooKeeper Perl module included under 
src/contribs/zkperl.
   Status: Patch Available  (was: Open)

Contribution of Net::ZooKeeper Perl module version 0.33.

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.2.0, 4.0.0
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: ZOOKEEPER-378.patch


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Created: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-20 Thread Chris Darroch (JIRA)
contribution of Net::ZooKeeper Perl module
--

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.2.0, 4.0.0
Reporter: Chris Darroch
 Attachments: Net-ZooKeeper-0.33.tar.gz

As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
might take a few more days for it to show up in the private grants.txt file, I 
believe.

I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
NOTICE file as required by the ASF for any ASF project.  It is attached to this 
issue and also available at 
http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Updated: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-20 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-378:


Affects Version/s: (was: 3.2.0)
   (was: 4.0.0)
   3.0.0
   3.0.1
   3.1.0
   3.1.1

really good to see this. ... it would be great to have in 3.2 release.

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
Reporter: Chris Darroch
 Attachments: Net-ZooKeeper-0.33.tar.gz


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Assigned: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-20 Thread Mahadev konar (JIRA)

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

Mahadev konar reassigned ZOOKEEPER-378:
---

Assignee: Chris Darroch

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: Net-ZooKeeper-0.33.tar.gz


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

-- 
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-378) contribution of Net::ZooKeeper Perl module

2009-04-20 Thread Mahadev konar (JIRA)

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

Mahadev konar edited comment on ZOOKEEPER-378 at 4/20/09 6:10 PM:
--

this looks great. it has tests/docs/licenses/readme.. I plan to check all the 
files into 

src/contrib/zkperl

with all the files in zkperl as the top level directory (replacing 
Net-Zookeeper with zkperl). 
So the dir structure would look like 

{code}
src/contrib/zkperl/Changes
src/contrib/zkperl/LICENSE
src/contrib/zkperl/MANIFEST
src/contrib/zkperl/Makefile.PL
src/contrib/zkperl/build
src/contrib/zkperl/t
{code}
comments?

  was (Author: mahadev):
this looks freat. it has tests/docs/licenses/readme.. I plan to check all 
the files into 

src/contrib/zkperl

with all the files in zkperl as the top level directory (replacing 
Net-Zookeeper with zkperl). 
So the dir structure would look like 

{code}
src/contrib/zkperl/Changes
src/contrib/zkperl/LICENSE
src/contrib/zkperl/MANIFEST
src/contrib/zkperl/Makefile.PL
src/contrib/zkperl/build
src/contrib/zkperl/t
{code}
comments?
  
 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
Reporter: Chris Darroch
 Attachments: Net-ZooKeeper-0.33.tar.gz


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Commented: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-20 Thread Chris Darroch (JIRA)

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

Chris Darroch commented on ZOOKEEPER-378:
-

Glad it looks OK.  My only comment is that I'm fairly strongly attached to the 
Net::ZooKeeper name because it conforms to the well-established Perl module 
naming scheme and has been approved by the CPAN community.  By all means check 
it into SVN under a zkperl directory or whatever you like; if you want to 
change the module name, though, we should have a conversation about that.  But 
I think you're just talking about the directory name in SVN.  :-)  Cheers.

 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: Net-ZooKeeper-0.33.tar.gz


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



[jira] Commented: (ZOOKEEPER-378) contribution of Net::ZooKeeper Perl module

2009-04-20 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-378:


I agree w/Chris and I think this is what Mahadev meant -- that the contrib wil 
be
named contrib/zkperl (whatever) but the module name from perl perspective 
Net::ZooKeeper will be unchanged (not tied to the contrib directory name)


 contribution of Net::ZooKeeper Perl module
 --

 Key: ZOOKEEPER-378
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-378
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
Reporter: Chris Darroch
Assignee: Chris Darroch
 Attachments: Net-ZooKeeper-0.33.tar.gz


 As per the conversation in ZOOKEEPER-364, I submitted a Software Grant 
 Agreement to the ASF last week for Net::ZooKeeper by fax and surface mail; it 
 might take a few more days for it to show up in the private grants.txt file, 
 I believe.
 I also created a Net::ZooKeeper package, version 0.33, with licenses and a 
 NOTICE file as required by the ASF for any ASF project.  It is attached to 
 this issue and also available at 
 http://people.apache.org/~chrisd/projects/net_zookeeper/.

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



Re: ZooKeeper Perl module

2009-04-02 Thread Patrick Hunt
Hey Chris this is really great! Thanks for making it available to the 
community, very cool.


Patrick

Chris Darroch wrote:

Hi --

  The http://wiki.apache.org/hadoop/ZooKeeper page includes the
comment that someday we hope to get Python, Perl, and REST interfaces.
I hope I can help with one item from that list now, at least.  I recently
put together a Perl module named Net::ZooKeeper which is now available
on CPAN:

http://cpan.org/modules/by-category/05_Networking_Devices_IPC/Net/Net-ZooKeeper-0.32.tar.gz 


http://search.cpan.org/~cdarroch/Net-ZooKeeper-0.32/ZooKeeper.pm

  Modelled on the DBI module, it provides an interface to ZooKeeper
through the synchronous C API functions, e.g.:

   my $zkh = Net::ZooKeeper-new('localhost:7000');

   my $ret = $zkh-set('/foo', 'baz');

  Net::ZooKeeper currently requires ZooKeeper 3.1.1 (or at least
that version of the C API code) and Perl 5.8.8 or up, including 5.10.x.

  The test suite is reasonably complete, I think, and covers a
fair bit of ground.  I've found it useful for testing the ZooKeeper
C API as well as learning more than I wanted to know about
XS programming.

  I've licensed the module under the Apache license 2.0 so it should
be compatible with ZooKeeper itself if there's interest in including
it under src/contribs.

  For those who ask why Perl 5 and not Rakudo/Ruby/Lua/Python/
[insert cool new dynamic language here], the answer is just that I
needed an old-style Perl module first.  (As a thought experiment,
though, I wonder if one could write a Parrot extension that communicated
directly with ZooKeeper, handled the ping requests internally via
a Parrot scheduler/thread/whatever, and didn't need the C API at all.
You could support any language running on Parrot with that.  Well,
maybe in a few years, anyway.  :-)

  In the meantime, please report any suggestions or bugs to
me -- thanks!

Chris.