zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cantrell, Curtis" <Curtis.Cantr...@bkfs.com>
Subject Error Start ZK 3.5.1 a second time
Date Thu, 14 Jul 2016 14:37:42 GMT
I just downloaded and built ZK 3.5.1-alpha .   I am running three servers on a single machine.
 They are all three running.   When I Ctrl-C one of the servers, the prompt "Terminate batch
jog (Y/N)? comes up.  I kill it.   Then when I immediately retype  zkServer to restart the
server, I get the following error 

D:\zookeeper1-3.5.1\bin>call "C:\Program Files\Java\jdk1.8.0_72\bin\java" "-Dzookeeper.log.dir=D:\zookeeper1-3.5.1\bin\..\logs"
"-Dzookeeper.root.logger=INFO,CONSOLE" "-Dzookeeper.log.file=zookeeper-e1000370-server-JAX-1000370-1D.log"
+HeapDumpOnOutOfMemoryError" "-XX:OnOutOfMemoryError=cmd /c taskkill /pid %%p /t /f" -cp "D:\zookeeper1-3.5.1\bin\..\build\classes;D:\zookeeper1-3.5.1\bin\..\build\lib\*;D:\zookeeper1-3.5.1\bin\..\*;D:\zookeeper1-3.5.1\bin\..\lib\*;D:\zooke
eper1-3.5.1\bin\..\conf" org.apache.zookeeper.server.quorum.QuorumPeerMain "D:\zookeeper1-3.5.1\bin\..\conf\zoo.cfg"
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/zookeeper1-3.5.1/build/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/zookeeper1-3.5.1/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2016-07-14 10:27:04,033 [myid:] - INFO  [main:QuorumPeerConfig@114] - Reading configuration
from: D:\zookeeper1-3.5.1\bin\..\conf\zoo.cfg
2016-07-14 10:27:04,043 [myid:] - INFO  [main:QuorumPeerConfig@316] - clientPortAddress is
2016-07-14 10:27:04,043 [myid:] - INFO  [main:QuorumPeerConfig@320] - secureClientPort is
not set
2016-07-14 10:27:04,045 [myid:] - ERROR [main:QuorumPeerMain@86] - Invalid config, exiting
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing D:zookeeper1-3.5.1confzoo.cfg.dynamic.100000000
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:160)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:110)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:79)
Caused by: java.io.FileNotFoundException: D:zookeeper1-3.5.1confzoo.cfg.dynamic.100000000
(The system cannot find the file specified)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:141)

The files are there.  All I did was kill the process.  Why can't I restart the server?   Why
will the server start once, but then not restart. 

If I copy the contents of the zoo.cfg.bak into zoo.cfg, the server will restart.  The only
difference is the .bak file does not have the entry for the new dynamic stuff (which I'm not
sure what that is yet) 


The file is there, even though the server is complaining about it.    Any ideas?

Thank you,

The information contained in this message is proprietary and/or confidential. If you are not
the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose,
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,
please be aware that any message addressed to our domain is subject to archiving and review
by persons other than the intended recipient. Thank you.
View raw message