V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jackqian
V2EX  ›  Java

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

  •  
  •   jackqian · 2019-11-20 10:50:31 +08:00 · 2684 次点击
    这是一个创建于 1865 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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>

    1 条回复    2019-11-20 15:58:52 +08:00
    scukmh
        1
    scukmh  
       2019-11-20 15:58:52 +08:00
    干活的家伙不要那么急着升嘛
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1064 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 19:02 · PVG 03:02 · LAX 11:02 · JFK 14:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.