Hi Benjamin,

Thank you for reporting this.  This is a bug that was previously reported
in JIRA ZOOKEEPER-2244.

https://issues.apache.org/jira/browse/ZOOKEEPER-2244


There is a patch attached to that issue.  If you're interested in
participating on some code review and testing of the proposed patch,
please feel free to comment there.  Meanwhile, I'll also put it into my
own review queue to work on getting it committed.

--Chris Nauroth




On 9/15/15, 12:25 PM, "Benjamin Jaton" <[email protected]> wrote:

>May I suggest to change this:
>
>src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java
>
> out.write("dynamicConfigFile="
>*  .concat(dynamicFile.getCanonicalPath())*
>  .concat("\n"));
>
>to this:
>
>*.concat(PathUtils.normalizeFileSystemPath(dynamicFile.getCanonicalPath())
>)*
>
>I believe otherwise the ZK can't restart on WIndows.
>
>I can open a JIRA if needed.
>
>Thanks
>Ben

Reply via email to