[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-395: Resolution: Fixed Fix Version/s: 3.2.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I just committed this. thanks henry. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Fix For: 3.2.0 > > Attachments: ZOOKEEPER-395.patch, ZOOKEEPER-395.patch, > ZOOKEEPER-395.patch, ZOOKEEPER-395.patch, ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-395: Attachment: ZOOKEEPER-395.patch just modified the patch a little bit in build.xml to fail on any of the targets failing. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch, ZOOKEEPER-395.patch, > ZOOKEEPER-395.patch, ZOOKEEPER-395.patch, ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: ZOOKEEPER-395.patch Here's a minor fix as a result of testing against 2.6 - the log file stream was not being correctly reference counted causing a segfault on the GC in 2.6 which is apparently different to 2.5. The README is updated to mention the testing, which all passed after that fix. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch, ZOOKEEPER-395.patch, > ZOOKEEPER-395.patch, ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: ZOOKEEPER-395.patch This patch adds the beginnings of a testing infrastructure - the module is now built and tested via ant. Updated instructions are in the README. Thanks Mahadev for the useful feedback, most of which I've reflected in the README. I have gone for a simple shell script at this point, but I reckon in the future we should move to either nose or pyant to run the tests. The testing harness starts by starting a local server as in the rest module - thanks Patrick for pointing me at this. Both the server script and the test script (zkServer.sh and run_tests.sh in zkpython/src/test) need their executable bits set which is not preserved by this patch. Until they are chmodded, ant will not be able to run the tests correctly. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch, ZOOKEEPER-395.patch, > ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: ZOOKEEPER-395.patch This version contains tests for create, get, set, exists and delete code paths. The rest to follow as quickly as I can, but I don't want to hold up this patch trying to get all the unit tests finished if it can go ahead without. Also, this patch contains some important bugfixes (tests are good for finding those...) and a change to the way errors are handled. See zkpython/README for details. I haven't yet been able to figure out the right way to run python unittests from build.xml. Any ideas? > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch, ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Comment: was deleted (was: adding license headers) > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: (was: ZOOKEEPER-395.patch) > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: ZOOKEEPER-395.patch License headers. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Status: Patch Available (was: Open) Added license headers. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Status: Open (was: Patch Available) adding license headers > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: (was: ZOOKEEPER-395.patch) > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: ZOOKEEPER-395.patch > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Release Note: Python bindings for ZooKeeper. See src/contrib/zkpython/README for details. Status: Patch Available (was: Open) Here's a new patch conforming to the directory layout as suggested. Other improvements: the asynchronous API is now implemented, a nasty reference count bug has been fixed and most of the integer constants from zookeeper.h are now in the module. src/contrib/zkpython/src/python/zk.py demonstrates some of the working features. There are no tests yet - that's next on my to do list, followed by docstrings. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-395) Python bindings
[ https://issues.apache.org/jira/browse/ZOOKEEPER-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-395: - Attachment: ZOOKEEPER-395.patch Here's a patch that adds Python bindings for the ZooKeeper C client. This is very early work and comes with attendant warnings about feature incompleteness and bugs. Instructions for building and installing are in the enclosed README. Watchers (should) work as the Python C API make it easy to asynchronously call back into the interpreter. For example: ZOO_OPEN_ACL_UNSAFE = {"perms":0x1f, "scheme":"world", "id" :"anyone"}; if zookeeper.exists(handle, "/python-test", None) == None: print zookeeper.create(handle,"/python-test","random",[ZOO_OPEN_ACL_UNSAFE],0) else: print zookeeper.get_acl(handle,"/python-test") There are plenty of things that need improving (again see the README), but I'm offering this early for comment and in the hope of it being useful. > Python bindings > --- > > Key: ZOOKEEPER-395 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-395 > Project: Zookeeper > Issue Type: New Feature >Affects Versions: 3.2.0 >Reporter: Henry Robinson >Assignee: Henry Robinson > Attachments: ZOOKEEPER-395.patch > > > ZooKeeper doesn't have Python bindings. Having them would be useful, and > would complement the extant Perl bindings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.