mac 升级 catalina 后 启动 zookeeper 报错,求大神看看

2019-11-20 10:50:31 +08:00
 jackqian

mojave 没有问题,Catalina 启动 zk 报这个错,求大神看看,这个是完整的日志

2019-11-20 09:34:59,399 [myid:] - INFO [main:QuorumPeerConfig@103] - Reading configuration from: /Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../conf/zoo.cfg 2019-11-20 09:34:59,407 [myid:] - INFO [main:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3 2019-11-20 09:34:59,407 [myid:] - INFO [main:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0 2019-11-20 09:34:59,407 [myid:] - INFO [main:DatadirCleanupManager@101] - Purge task is not scheduled. 2019-11-20 09:34:59,407 [myid:] - WARN [main:QuorumPeerMain@113] - Either no config or no quorum defined in config, running in standalone mode 2019-11-20 09:34:59,424 [myid:] - INFO [main:QuorumPeerConfig@103] - Reading configuration from: /Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../conf/zoo.cfg 2019-11-20 09:34:59,424 [myid:] - INFO [main:ZooKeeperServerMain@95] - Starting server 2019-11-20 09:34:59,435 [myid:] - INFO [main:Environment@100] - Server environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT 2019-11-20 09:34:59,435 [myid:] - INFO [main:Environment@100] - Server environment:host.name=localhost 2019-11-20 09:34:59,435 [myid:] - INFO [main:Environment@100] - Server environment:java.version=1.8.0_231 2019-11-20 09:34:59,435 [myid:] - INFO [main:Environment@100] - Server environment:java.vendor=Oracle Corporation 2019-11-20 09:34:59,435 [myid:] - INFO [main:Environment@100] - Server environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/jre 2019-11-20 09:34:59,435 [myid:] - INFO [main:Environment@100] - Server environment:java.class.path=/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../build/classes:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../build/lib/.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../lib/slf4j-log4j12-1.6.1.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../lib/slf4j-api-1.6.1.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../lib/netty-3.7.0.Final.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../lib/log4j-1.2.16.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../lib/jline-0.9.94.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../zookeeper-3.4.6.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../src/java/lib/.jar:/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin/../conf: 2019-11-20 09:34:59,436 [myid:] - INFO [main:Environment@100] - Server environment:java.library.path=/Users/qianxu/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:. 2019-11-20 09:34:59,436 [myid:] - INFO [main:Environment@100] - Server environment:java.io.tmpdir=/var/folders/nr/qf79b_5d333f8j6btm_jmk280000gn/T/ 2019-11-20 09:34:59,436 [myid:] - INFO [main:Environment@100] - Server environment:java.compiler=<na> 2019-11-20 09:34:59,437 [myid:] - INFO [main:Environment@100] - Server environment:os.name=Mac OS X 2019-11-20 09:34:59,437 [myid:] - INFO [main:Environment@100] - Server environment:os.arch=x86_64 2019-11-20 09:34:59,437 [myid:] - INFO [main:Environment@100] - Server environment:os.version=10.15.1 2019-11-20 09:34:59,437 [myid:] - INFO [main:Environment@100] - Server environment:user.name=qianxu 2019-11-20 09:34:59,437 [myid:] - INFO [main:Environment@100] - Server environment:user.home=/Users/qianxu 2019-11-20 09:34:59,437 [myid:] - INFO [main:Environment@100] - Server environment:user.dir=/Users/qianxu/workspace/dubbo/zookeeper-3.4.6/bin 2019-11-20 09:34:59,449 [myid:] - INFO [main:ZooKeeperServer@755] - tickTime set to 2000 2019-11-20 09:34:59,449 [myid:] - INFO [main:ZooKeeperServer@764] - minSessionTimeout set to -1 2019-11-20 09:34:59,449 [myid:] - INFO [main:ZooKeeperServer@773] - maxSessionTimeout set to -1 2019-11-20 09:34:59,484 [myid:] - INFO [main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:2181 2019-11-20 09:39:55,501 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /127.0.0.1:56878 2019-11-20 09:39:55,509 [myid:] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:748) 2019-11-20 09:39:55,512 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /127.0.0.1:56878 (no session established for client)</na>

2660 次点击
所在节点    Java
1 条回复
scukmh
2019-11-20 15:58:52 +08:00
干活的家伙不要那么急着升嘛

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/621291

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX