You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Paiva Junqueira (JIRA)" <ji...@apache.org> on 2008/10/14 22:09:44 UTC

[jira] Created: (ZOOKEEPER-188) Check that election port is present for all servers

Check that election port is present for all servers
---------------------------------------------------

                 Key: ZOOKEEPER-188
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-188
             Project: Zookeeper
          Issue Type: Improvement
    Affects Versions: 3.0.0
            Reporter: Flavio Paiva Junqueira
             Fix For: 3.0.0


Currently, if we use the default leader election, but we do not provide an election port for every server, then zookeeper servers simply crash. I'm attaching a patch to output an error message warning the user of the configuration problem. It might be a better idea to through an exception upon fatal configuration problems, but QuorumPeerConfig.parse() currently throws no exception, so we might postpone such a change  until after the 3.0.0 release.

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


[jira] Updated: (ZOOKEEPER-188) Check that election port is present for all servers

Posted by "Flavio Paiva Junqueira (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flavio Paiva Junqueira updated ZOOKEEPER-188:
---------------------------------------------

    Assignee: Flavio Paiva Junqueira
      Status: Patch Available  (was: Open)

> Check that election port is present for all servers
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-188
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-188
>             Project: Zookeeper
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Flavio Paiva Junqueira
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-188.patch
>
>
> Currently, if we use the default leader election, but we do not provide an election port for every server, then zookeeper servers simply crash. I'm attaching a patch to output an error message warning the user of the configuration problem. It might be a better idea to through an exception upon fatal configuration problems, but QuorumPeerConfig.parse() currently throws no exception, so we might postpone such a change  until after the 3.0.0 release.

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


[jira] Updated: (ZOOKEEPER-188) Check that election port is present for all servers

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-188:
-----------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed revision 704686.

> Check that election port is present for all servers
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-188
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-188
>             Project: Zookeeper
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Flavio Paiva Junqueira
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-188.patch
>
>
> Currently, if we use the default leader election, but we do not provide an election port for every server, then zookeeper servers simply crash. I'm attaching a patch to output an error message warning the user of the configuration problem. It might be a better idea to through an exception upon fatal configuration problems, but QuorumPeerConfig.parse() currently throws no exception, so we might postpone such a change  until after the 3.0.0 release.

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


[jira] Updated: (ZOOKEEPER-188) Check that election port is present for all servers

Posted by "Flavio Paiva Junqueira (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flavio Paiva Junqueira updated ZOOKEEPER-188:
---------------------------------------------

    Attachment: ZOOKEEPER-188.patch

> Check that election port is present for all servers
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-188
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-188
>             Project: Zookeeper
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Flavio Paiva Junqueira
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-188.patch
>
>
> Currently, if we use the default leader election, but we do not provide an election port for every server, then zookeeper servers simply crash. I'm attaching a patch to output an error message warning the user of the configuration problem. It might be a better idea to through an exception upon fatal configuration problems, but QuorumPeerConfig.parse() currently throws no exception, so we might postpone such a change  until after the 3.0.0 release.

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


[jira] Commented: (ZOOKEEPER-188) Check that election port is present for all servers

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639803#action_12639803 ] 

Hudson commented on ZOOKEEPER-188:
----------------------------------

Integrated in ZooKeeper-trunk #114 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/114/])
    . Check that election port is present for all servers --- also addressed some missing items in changes.txt


> Check that election port is present for all servers
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-188
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-188
>             Project: Zookeeper
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Flavio Paiva Junqueira
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-188.patch
>
>
> Currently, if we use the default leader election, but we do not provide an election port for every server, then zookeeper servers simply crash. I'm attaching a patch to output an error message warning the user of the configuration problem. It might be a better idea to through an exception upon fatal configuration problems, but QuorumPeerConfig.parse() currently throws no exception, so we might postpone such a change  until after the 3.0.0 release.

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