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

Arshad Mohammad commented on ZOOKEEPER-2244:
--------------------------------------------

This problem is because dynamicConfigFile path is written with single backward 
slash, \, in zoo.cfg file. Backward slash is ignored while loading the 
properties file which leads to invalid path for dynamicConfigFile.

To fix this we should always write dynamicConfigFile  path with / in zoo.cfg 
file. This will work on all the platforms


> On Windows zookeeper fails to restart.
> --------------------------------------
>
>                 Key: ZOOKEEPER-2244
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2244
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.5.0
>            Reporter: Arshad Mohammad
>            Assignee: Arshad Mohammad
>             Fix For: 3.5.1
>
>
> This issue occurs in following scenario
> 1) configure server properties in  zookeeper configuration file(zoo.cfg)
> example:
> {code}
> server.1=localhost:43222:43225:participant;0.0.0.0:43228
> server.2=localhost:43223:43226:participant;0.0.0.0:43229
> server.3=localhost:43224:43227:participant;0.0.0.0:43230
> {code}
> 2)  start the servers on windows. All the servers started successfully
> 3) stop any of the server
> 4)  try to start the stopped server. It fails with following error
> {code}
> org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error 
> processing D:SystemTestCasesZKServer1confzoo.cfg.dynamic.100000000
> {code}



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

Reply via email to