[jira] Updated: (ZOOKEEPER-151) Document change to server configuration
[ https://issues.apache.org/jira/browse/ZOOKEEPER-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Paiva Junqueira updated ZOOKEEPER-151: - Attachment: ZOOKEEPER-151.patch I have updated the config example, and have added a description of how the two ports are used. The description for the first port in a server entry was actually missing, so I have used this opportunity to include that description as well. > Document change to server configuration > --- > > Key: ZOOKEEPER-151 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-151 > Project: Zookeeper > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Flavio Paiva Junqueira > Attachments: ZOOKEEPER-151.patch > > > The patch of jira 127 changed the format of server configuration files, but > it didn't change the documentation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-151) Document change to server configuration
[ https://issues.apache.org/jira/browse/ZOOKEEPER-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Paiva Junqueira updated ZOOKEEPER-151: - Status: Patch Available (was: Open) > Document change to server configuration > --- > > Key: ZOOKEEPER-151 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-151 > Project: Zookeeper > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Flavio Paiva Junqueira > Attachments: ZOOKEEPER-151.patch > > > The patch of jira 127 changed the format of server configuration files, but > it didn't change the documentation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-136) sync causes hang in all followers of quorum
[ https://issues.apache.org/jira/browse/ZOOKEEPER-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Paiva Junqueira updated ZOOKEEPER-136: - Resolution: Fixed Status: Resolved (was: Patch Available) +1, the patch is good. I have committed already. > sync causes hang in all followers of quorum > --- > > Key: ZOOKEEPER-136 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-136 > Project: Zookeeper > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Patrick Hunt >Assignee: Benjamin Reed > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-136.patch > > > The attached test causes all of the followers of a quorum to hang. Leader > continues to function correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-127) Use of non-standard election ports in config breaks services
[ https://issues.apache.org/jira/browse/ZOOKEEPER-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636632#action_12636632 ] Patrick Hunt commented on ZOOKEEPER-127: re stu's npe comment, is that true? I thought I had seen some code in the config processing that indicated that we allowed both host:port and host:port:port, does it npe if host:port is used? Flavio please look into this and also ensure that the documentation is updated to reflect. > Use of non-standard election ports in config breaks services > > > Key: ZOOKEEPER-127 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-127 > Project: Zookeeper > Issue Type: Bug > Components: quorum >Affects Versions: 3.0.0 >Reporter: Mark Harwood >Assignee: Flavio Paiva Junqueira >Priority: Critical > Fix For: 3.0.0 > > Attachments: mhPortChanges.patch, ZOOKEEPER-127.patch, > ZOOKEEPER-127.patch, ZOOKEEPER-127.patch, ZOOKEEPER-127.patch, > ZOOKEEPER-127.patch, ZOOKEEPER-127.patch > > > In QuorumCnxManager.toSend there is a call to create a connection as follows: > channel = SocketChannel.open(new InetSocketAddress(addr, port)); > Unfortunately "addr" is the ip address of a remote server while "port" is the > electionPort of *this* server. > As an example, given this configuration (taken from my zoo.cfg) > server.1=10.20.9.254:2881 > server.2=10.20.9.9:2882 > server.3=10.20.9.254:2883 > Server 3 was observed trying to make a connection to host 10.20.9.9 on port > 2883 and obviously failing. > In tests where all machines use the same electionPort this bug would not > manifest itself. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-127) Use of non-standard election ports in config breaks services
[ https://issues.apache.org/jira/browse/ZOOKEEPER-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636633#action_12636633 ] Patrick Hunt commented on ZOOKEEPER-127: are there tests for these cases? host:port and host:port:port? we should verify both cases (even if one is illegal - verify handled appropriately) > Use of non-standard election ports in config breaks services > > > Key: ZOOKEEPER-127 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-127 > Project: Zookeeper > Issue Type: Bug > Components: quorum >Affects Versions: 3.0.0 >Reporter: Mark Harwood >Assignee: Flavio Paiva Junqueira >Priority: Critical > Fix For: 3.0.0 > > Attachments: mhPortChanges.patch, ZOOKEEPER-127.patch, > ZOOKEEPER-127.patch, ZOOKEEPER-127.patch, ZOOKEEPER-127.patch, > ZOOKEEPER-127.patch, ZOOKEEPER-127.patch > > > In QuorumCnxManager.toSend there is a call to create a connection as follows: > channel = SocketChannel.open(new InetSocketAddress(addr, port)); > Unfortunately "addr" is the ip address of a remote server while "port" is the > electionPort of *this* server. > As an example, given this configuration (taken from my zoo.cfg) > server.1=10.20.9.254:2881 > server.2=10.20.9.9:2882 > server.3=10.20.9.254:2883 > Server 3 was observed trying to make a connection to host 10.20.9.9 on port > 2883 and obviously failing. > In tests where all machines use the same electionPort this bug would not > manifest itself. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-151) Document change to server configuration
[ https://issues.apache.org/jira/browse/ZOOKEEPER-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-151: --- Fix Version/s: 3.0.0 > Document change to server configuration > --- > > Key: ZOOKEEPER-151 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-151 > Project: Zookeeper > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Flavio Paiva Junqueira > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-151.patch > > > The patch of jira 127 changed the format of server configuration files, but > it didn't change the documentation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Assigned: (ZOOKEEPER-151) Document change to server configuration
[ https://issues.apache.org/jira/browse/ZOOKEEPER-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt reassigned ZOOKEEPER-151: -- Assignee: Flavio Paiva Junqueira > Document change to server configuration > --- > > Key: ZOOKEEPER-151 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-151 > Project: Zookeeper > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Flavio Paiva Junqueira >Assignee: Flavio Paiva Junqueira > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-151.patch > > > The patch of jira 127 changed the format of server configuration files, but > it didn't change the documentation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-62) Generally improve logging to enable debuggability in the field.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stu Hood updated ZOOKEEPER-62: -- Attachment: zoo-log.tgz Here is an example of the problem from r701369. In this 3 peer ZooKeeper setup, one peer grabbed leadership to start, and then lost it, going into an infinite loop, while the other peers went about their business. But by far the most common log messages that are repeated are the ones referring to opening and closing transaction logs, and very little information is given about why the election process keeps restarting. > Generally improve logging to enable debuggability in the field. > --- > > Key: ZOOKEEPER-62 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-62 > Project: Zookeeper > Issue Type: Improvement > Components: c client, java client, server >Reporter: Patrick Hunt >Assignee: Flavio Paiva Junqueira > Attachments: zoo-log.tgz > > > We need to improve our logging to enable debugging of field issues. > Flavio, assigning to you as you are currently looking at some client/server > issues that could benefit from better logging. Please attach patches if you > see potential areas for improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-156) update programmer guide with acl details from old wiki page
[ https://issues.apache.org/jira/browse/ZOOKEEPER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-156: --- Attachment: ZOOKEEPER-156.patch this patch does 2 things: 1) the acl docs from the wiki are not in docbook format 2) converted all of the documents to "simplified docbook", which is what forrest supports. This fixes a few issues, such as -- the docs were missing title, now the generated docs have title. > update programmer guide with acl details from old wiki page > --- > > Key: ZOOKEEPER-156 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-156 > Project: Zookeeper > Issue Type: Task > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-156.patch > > > Need to update the programmer guide with the acl details form the old wiki > page. > http://zookeeper.wiki.sourceforge.net/ZooKeeperACLs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-156) update programmer guide with acl details from old wiki page
[ https://issues.apache.org/jira/browse/ZOOKEEPER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-156: --- Status: Patch Available (was: Open) > update programmer guide with acl details from old wiki page > --- > > Key: ZOOKEEPER-156 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-156 > Project: Zookeeper > Issue Type: Task > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-156.patch > > > Need to update the programmer guide with the acl details form the old wiki > page. > http://zookeeper.wiki.sourceforge.net/ZooKeeperACLs -- 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-156) update programmer guide with acl details from old wiki page
[ https://issues.apache.org/jira/browse/ZOOKEEPER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636751#action_12636751 ] phunt edited comment on ZOOKEEPER-156 at 10/3/08 3:07 PM: - this patch does 2 things: 1) the acl docs from the wiki are now in docbook format (forrest) 2) converted all of the documents to "simplified docbook", which is what forrest supports. This fixes a few issues, such as -- the docs were missing title, now the generated docs have title. was (Author: phunt): this patch does 2 things: 1) the acl docs from the wiki are not in docbook format 2) converted all of the documents to "simplified docbook", which is what forrest supports. This fixes a few issues, such as -- the docs were missing title, now the generated docs have title. > update programmer guide with acl details from old wiki page > --- > > Key: ZOOKEEPER-156 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-156 > Project: Zookeeper > Issue Type: Task > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-156.patch > > > Need to update the programmer guide with the acl details form the old wiki > page. > http://zookeeper.wiki.sourceforge.net/ZooKeeperACLs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-154) reliability graph diagram in overview doc needs context
[ https://issues.apache.org/jira/browse/ZOOKEEPER-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Reed updated ZOOKEEPER-154: Hadoop Flags: [Reviewed] +1 I'm not much of a proof reader, but It looks good to me. You should spell check before you check in. encourged is spelled incorrectly. > reliability graph diagram in overview doc needs context > --- > > Key: ZOOKEEPER-154 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-154 > Project: Zookeeper > Issue Type: Bug > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt >Priority: Minor > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-154.patch > > > from question on the user mailing list: > the "Reliability in the Presence of Errors" graph on > http://hadoop.apache.org/zookeeper/docs/current/zookeeperOver.html does not > list how many ZooKeeper quorum nodes are in use, or the fraction of > reads/writes. > ben mentioned: > Here is the missing text: > To show the behavior of the system over time as failures are injected we > ran a ZooKeeper service made up of 7 machines. We ran the same > saturation benchmark as before, but this time we kept the write > percentage at a constant 30\%, which is a conservative ratio of our > expected workloads. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-156) update programmer guide with acl details from old wiki page
[ https://issues.apache.org/jira/browse/ZOOKEEPER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Reed updated ZOOKEEPER-156: Hadoop Flags: [Reviewed] +1 The first sentence of the ACL section refers to ACL but it should be ACLs. I'll leave it to your discretion, but I think the example should be removed since it uses ycl, which is not released. > update programmer guide with acl details from old wiki page > --- > > Key: ZOOKEEPER-156 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-156 > Project: Zookeeper > Issue Type: Task > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-156.patch > > > Need to update the programmer guide with the acl details form the old wiki > page. > http://zookeeper.wiki.sourceforge.net/ZooKeeperACLs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-154) reliability graph diagram in overview doc needs context
[ https://issues.apache.org/jira/browse/ZOOKEEPER-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-154: --- Attachment: ZOOKEEPER-154.patch updates per ben's suggestion > reliability graph diagram in overview doc needs context > --- > > Key: ZOOKEEPER-154 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-154 > Project: Zookeeper > Issue Type: Bug > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt >Priority: Minor > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-154.patch, ZOOKEEPER-154.patch > > > from question on the user mailing list: > the "Reliability in the Presence of Errors" graph on > http://hadoop.apache.org/zookeeper/docs/current/zookeeperOver.html does not > list how many ZooKeeper quorum nodes are in use, or the fraction of > reads/writes. > ben mentioned: > Here is the missing text: > To show the behavior of the system over time as failures are injected we > ran a ZooKeeper service made up of 7 machines. We ran the same > saturation benchmark as before, but this time we kept the write > percentage at a constant 30\%, which is a conservative ratio of our > expected workloads. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-156) update programmer guide with acl details from old wiki page
[ https://issues.apache.org/jira/browse/ZOOKEEPER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-156: --- Attachment: ZOOKEEPER-156.patch The example was as copied from the sf wiki. I incorporated ben's comments, I kept the example but replaced references to yca with references to the "foo" scheme. > update programmer guide with acl details from old wiki page > --- > > Key: ZOOKEEPER-156 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-156 > Project: Zookeeper > Issue Type: Task > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-156.patch, ZOOKEEPER-156.patch > > > Need to update the programmer guide with the acl details form the old wiki > page. > http://zookeeper.wiki.sourceforge.net/ZooKeeperACLs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-154) reliability graph diagram in overview doc needs context
[ https://issues.apache.org/jira/browse/ZOOKEEPER-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-154: --- Attachment: ZOOKEEPER-154.patch Arg, messed up the last patch, this has the proper updates. > reliability graph diagram in overview doc needs context > --- > > Key: ZOOKEEPER-154 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-154 > Project: Zookeeper > Issue Type: Bug > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt >Priority: Minor > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-154.patch, ZOOKEEPER-154.patch, > ZOOKEEPER-154.patch > > > from question on the user mailing list: > the "Reliability in the Presence of Errors" graph on > http://hadoop.apache.org/zookeeper/docs/current/zookeeperOver.html does not > list how many ZooKeeper quorum nodes are in use, or the fraction of > reads/writes. > ben mentioned: > Here is the missing text: > To show the behavior of the system over time as failures are injected we > ran a ZooKeeper service made up of 7 machines. We ran the same > saturation benchmark as before, but this time we kept the write > percentage at a constant 30\%, which is a conservative ratio of our > expected workloads. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ZOOKEEPER-155) improve "the zookeeper project" section of overview doc
[ https://issues.apache.org/jira/browse/ZOOKEEPER-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt resolved ZOOKEEPER-155. Resolution: Fixed Hadoop Flags: [Reviewed] Committed revision 701566. > improve "the zookeeper project" section of overview doc > --- > > Key: ZOOKEEPER-155 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-155 > Project: Zookeeper > Issue Type: Bug > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt >Priority: Minor > Fix For: 3.0.0 > > > In "the zookeeper project" section of > http://hadoop.apache.org/zookeeper/docs/current/zookeeperOver.html > we should remove the hod reference (doesn't use zk) and also update the > second paragraph, perhaps remove? Since we are already on the apache zk page. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-154) reliability graph diagram in overview doc needs context
[ https://issues.apache.org/jira/browse/ZOOKEEPER-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-154: --- Resolution: Fixed Status: Resolved (was: Patch Available) Committed revision 701566. > reliability graph diagram in overview doc needs context > --- > > Key: ZOOKEEPER-154 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-154 > Project: Zookeeper > Issue Type: Bug > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt >Priority: Minor > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-154.patch, ZOOKEEPER-154.patch, > ZOOKEEPER-154.patch > > > from question on the user mailing list: > the "Reliability in the Presence of Errors" graph on > http://hadoop.apache.org/zookeeper/docs/current/zookeeperOver.html does not > list how many ZooKeeper quorum nodes are in use, or the fraction of > reads/writes. > ben mentioned: > Here is the missing text: > To show the behavior of the system over time as failures are injected we > ran a ZooKeeper service made up of 7 machines. We ran the same > saturation benchmark as before, but this time we kept the write > percentage at a constant 30\%, which is a conservative ratio of our > expected workloads. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-156) update programmer guide with acl details from old wiki page
[ https://issues.apache.org/jira/browse/ZOOKEEPER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-156: --- Attachment: ZOOKEEPER-156.patch updated for merge conflicts from 154/155 > update programmer guide with acl details from old wiki page > --- > > Key: ZOOKEEPER-156 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-156 > Project: Zookeeper > Issue Type: Task > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-156.patch, ZOOKEEPER-156.patch, > ZOOKEEPER-156.patch > > > Need to update the programmer guide with the acl details form the old wiki > page. > http://zookeeper.wiki.sourceforge.net/ZooKeeperACLs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-156) update programmer guide with acl details from old wiki page
[ https://issues.apache.org/jira/browse/ZOOKEEPER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-156: --- Resolution: Fixed Status: Resolved (was: Patch Available) Committed revision 701567. > update programmer guide with acl details from old wiki page > --- > > Key: ZOOKEEPER-156 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-156 > Project: Zookeeper > Issue Type: Task > Components: documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-156.patch, ZOOKEEPER-156.patch, > ZOOKEEPER-156.patch > > > Need to update the programmer guide with the acl details form the old wiki > page. > http://zookeeper.wiki.sourceforge.net/ZooKeeperACLs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.