[jira] Created: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api
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.1, 3.2.0, 3.1.1, 3.1.0, 3.0.1, 3.0.0, 3.1.2, 3.2.2, 3.3.0, 4.0.0 Environment: linux amd64 Reporter: Alex Newman 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
[ https://issues.apache.org/jira/browse/ZOOKEEPER-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-604: -- Environment: All (was: linux amd64) 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 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
[ https://issues.apache.org/jira/browse/ZOOKEEPER-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12784422#action_12784422 ] Alex Newman commented on ZOOKEEPER-604: --- From a developer, the symbol was named hash, but basically they should work with the whitelist of functions in their zookeeper.h 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 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
[ https://issues.apache.org/jira/browse/ZOOKEEPER-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12784929#action_12784929 ] Alex Newman commented on ZOOKEEPER-604: --- Looks like I can't get it scheduled, can someone else write a patch? On Dec 2, 2009 9:50am, Alex Newman (JIRA) j...@apache.org wrote: 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 Priority: Critical Fix For: 3.3.0 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] Created: (ZOOKEEPER-785) Zookeeper 3.3.1 shouldn't infinite loop if someone creates a server.0 line
Zookeeper 3.3.1 shouldn't infinite loop if someone creates a server.0 line --- Key: ZOOKEEPER-785 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-785 Project: Zookeeper Issue Type: Bug Affects Versions: 3.3.1 Environment: Tested in linux with a new jvm Reporter: Alex Newman The following config causes an infinite loop [zoo.cfg] tickTime=2000 dataDir=/var/zookeeper/ clientPort=2181 initLimit=10 syncLimit=5 server.0=localhost:2888:3888 Output: 2010-06-01 16:20:32,471 - INFO [main:quorumpeerm...@119] - Starting quorum peer 2010-06-01 16:20:32,489 - INFO [main:nioservercnxn$fact...@143] - binding to port 0.0.0.0/0.0.0.0:2181 2010-06-01 16:20:32,504 - INFO [main:quorump...@818] - tickTime set to 2000 2010-06-01 16:20:32,504 - INFO [main:quorump...@829] - minSessionTimeout set to -1 2010-06-01 16:20:32,505 - INFO [main:quorump...@840] - maxSessionTimeout set to -1 2010-06-01 16:20:32,505 - INFO [main:quorump...@855] - initLimit set to 10 2010-06-01 16:20:32,526 - INFO [main:files...@82] - Reading snapshot /var/zookeeper/version-2/snapshot.c 2010-06-01 16:20:32,547 - INFO [Thread-1:quorumcnxmanager$liste...@436] - My election bind port: 3888 2010-06-01 16:20:32,554 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:quorump...@620] - LOOKING 2010-06-01 16:20:32,556 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:fastleaderelect...@649] - New election. My id = 0, Proposed zxid = 12 2010-06-01 16:20:32,558 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:fastleaderelect...@689] - Notification: 0, 12, 1, 0, LOOKING, LOOKING, 0 2010-06-01 16:20:32,560 - WARN [QuorumPeer:/0:0:0:0:0:0:0:0:2181:quorump...@623] - Unexpected exception java.lang.NullPointerException at org.apache.zookeeper.server.quorum.FastLeaderElection.totalOrderPredicate(FastLeaderElection.java:496) at org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:709) at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:621) 2010-06-01 16:20:32,560 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:quorump...@620] - LOOKING 2010-06-01 16:20:32,560 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:fastleaderelect...@649] - New election. My id = 0, Proposed zxid = 12 2010-06-01 16:20:32,561 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:fastleaderelect...@689] - Notification: 0, 12, 2, 0, LOOKING, LOOKING, 0 2010-06-01 16:20:32,561 - WARN [QuorumPeer:/0:0:0:0:0:0:0:0:2181:quorump...@623] - Unexpected exception java.lang.NullPointerException at org.apache.zookeeper.server.quorum.FastLeaderElection.totalOrderPredicate(FastLeaderElection.java:496) at org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:709) at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:621) 2010-06-01 16:20:32,561 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:quorump...@620] - LOOKING 2010-06-01 16:20:32,562 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:fastleaderelect...@649] - New election. My id = 0, Proposed zxid = 12 2010-06-01 16:20:32,562 - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:fastleaderelect...@689] - Notification: 0, 12, 3, 0, LOOKING, LOOKING, 0 2010-06-01 16:20:32,562 - WARN [QuorumPeer:/0:0:0:0:0:0:0:0:2181:quorump...@623] - Unexpected exception java.lang.NullPointerException Things like HBase require that the zookeeper servers be listed in the zoo.cfg. This is a bug on their part, but zookeeper shouldn't null pointer in a loop though. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Reporter: Alex Newman So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-796: -- Attachment: foo.patch zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Reporter: Alex Newman Attachments: foo.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-796: -- Status: Patch Available (was: Open) zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Reporter: Alex Newman Attachments: foo.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-796: -- Attachment: (was: 4) zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Components: scripts Reporter: Alex Newman Assignee: Alex Newman Fix For: 3.4.0 Attachments: foo.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-796: -- Attachment: (was: foo.patch) zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Components: scripts Reporter: Alex Newman Assignee: Alex Newman Fix For: 3.4.0 So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-796: -- Attachment: 4 This patch is created using svn diff hopefully that works better. zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Components: scripts Reporter: Alex Newman Assignee: Alex Newman Fix For: 3.4.0 Attachments: foo.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-796: -- Attachment: ZOOKEEPER-796.patch zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Components: scripts Reporter: Alex Newman Assignee: Alex Newman Fix For: 3.4.0 Attachments: ZOOKEEPER-796.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated ZOOKEEPER-796: -- Status: Patch Available (was: Open) zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Components: scripts Reporter: Alex Newman Assignee: Alex Newman Fix For: 3.4.0 Attachments: ZOOKEEPER-796.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12885333#action_12885333 ] Alex Newman commented on ZOOKEEPER-796: --- Ok lets see if i convince hudson to like the patch this time. zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Components: scripts Reporter: Alex Newman Assignee: Alex Newman Fix For: 3.4.0 Attachments: ZOOKEEPER-796.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-796) zkServer.sh should support an external PIDFILE variable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12885361#action_12885361 ] Alex Newman commented on ZOOKEEPER-796: --- Hizzah, unless their is a way to do tests with shell script changes? zkServer.sh should support an external PIDFILE variable --- Key: ZOOKEEPER-796 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-796 Project: Zookeeper Issue Type: Bug Components: scripts Reporter: Alex Newman Assignee: Alex Newman Fix For: 3.4.0 Attachments: ZOOKEEPER-796.patch, ZOOKEEPER-796.patch So currently the pid file has to be tied to the datadirectory when starting zkServer.sh. It would be good to be able to break them up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.