[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14732510#comment-14732510
 ] 

Raul Gutierrez Segales commented on ZOOKEEPER-2263:
---------------------------------------------------

Thanks [~arshad.mohammad]. Two things though:

* nit: typo in Niether

* also, is this compatible with dynamic configs? Once the dynamic config code 
rewrites the config, it will omit clientPort from zoo.cfg (and maybe secure 
port too?). Won't this validation cause that server to fail to start in 
subsequent restarts?

> ZooKeeper server should not start when neither clientPort no secureClientPort 
> is configured
> -------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2263
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2263
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Arshad Mohammad
>            Assignee: Arshad Mohammad
>            Priority: Minor
>             Fix For: 3.5.2, 3.6.0
>
>         Attachments: ZOOKEEPER-2263-01.patch, ZOOKEEPER-2263-02.patch
>
>
> ZooKeeper server should not start when neither clientPort no secureClientPort 
> is configured.
> Without any client port ZooKeeper server can not server any purpose. It 
> should simply return with proper error message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to