2017-06-16 102 views
1

我在做安裝zookeeper,同時設置zookeeper服務器,我得到低於出。服務器沒有啓動。無法啓動zookeeper服務器

.10\bin>call "C:\Program Files\Java\jre1.8.0_111"\bin\java "-Dzookeeper.log.dir=C:\zookeeper-3.4.10\b 
:43,637 [myid:] - INFO [main:[email protected]] - Reading configuration 
from: C:\zookeeper-3.4.10 
:43,651 [myid:] - INFO [main:[email protected]] - autopurge.snapRetainCount set to 3 
:43,651 [myid:] - INFO [main:[email protected]] - autopurge.purgeInterval set to 0 
:43,651 [myid:] - INFO [main:[email protected]] - Purge task is not scheduled. 
:43,654 [myid:] - WARN [main:[email protected]] - Either no config or no quorum defined in config, 
:43,790 [myid:] - INFO [main:[email protected]] - Reading configuration from: C:\zookeeper-3.4.10 
:43,792 [myid:] - INFO [main:[email protected]] - Starting server 
:43,824 [myid:] - INFO [main:[email protected]] - Server environment:zookeeper.version=3.4.10-39d3a4f2 
:43,824 [myid:] - INFO [main:[email protected]] - Server environment:host.name=P4A-508SD1Q.dir.svc.acc 
:43,824 [myid:] - INFO [main:[email protected]] - Server environment:java.version=1.8.0_111 
:43,824 [myid:] - INFO [main:[email protected]] - Server environment:java.vendor=Oracle Corporation 
:43,824 [myid:] - INFO [main:[email protected]] - Server environment:java.home=C:\Program Files\Java\j 
:43,825 [myid:] - INFO [main:[email protected]] - Server environment:java.class.path=C:\zookeeper-3.4. 
:43,825 [myid:] - INFO [main:[email protected]] - Server environment:java.library.path=C:\Program File 
:43,826 [myid:] - INFO [main:[email protected]] - Server environment:java.io.tmpdir=C:\Users\SHASHI~1. 
:43,826 [myid:] - INFO [main:[email protected]] - Server environment:java.compiler=<NA> 
:43,829 [myid:] - INFO [main:[email protected]] - Server environment:os.name=Windows 7 
:43,830 [myid:] - INFO [main:[email protected]] - Server environment:os.arch=amd64 
:43,830 [myid:] - INFO [main:[email protected]] - Server environment:os.version=6.1 
:43,830 [myid:] - INFO [main:[email protected]] - Server environment:user.name=shashibhusan.mohanta 
:43,831 [myid:] - INFO [main:[email protected]] - Server environment:user.home=C:\Users\shashibhusan.m 
:43,832 [myid:] - INFO [main:[email protected]] - Server environment:user.dir=C:\zookeeper-3.4.10\bin 
:43,852 [myid:] - INFO [main:[email protected]] - tickTime set to 2000 
:43,855 [myid:] - INFO [main:[email protected]] - minSessionTimeout set to -1 
:43,856 [myid:] - INFO [main:[email protected]] - maxSessionTimeout set to -1 
:44,194 [myid:] - INFO [main:[email protected]] - binding to port 0.0.0.0/0.0.0.0:2181 

我不明白什麼是maxSessionTimeout設置爲-1什麼意思和如何解決請幫助。

回答

1

也就是說,還沒有專門設置的那些值,並且分別爲tickTime 20倍和2倍的動物園管理員將使用缺省值maxSessionTimeoutminSessionTimeout

閱讀zookeeper minimum configuration docs