你好,windows10系统正常通过hook触发停机时会以下报错信息,该如何解决呢?
Dubbo配置: <dubbo:application name="${NAME}"/> <dubbo:registry cluster="failover" client="curator" protocol="zookeeper" address="${ADDRESS}" username="${USERNAME}" password="${PASSWORD}"> <dubbo:parameter key="qos.enable" value="true" /> <dubbo:parameter key="qos.port" value="${PORT" /> </dubbo:registry>
<dubbo:protocol name="dubbo" port="${PORT.DUBBO}" threads="100" serialization="kryo" optimizer="com.mobee.slot.rpc.dubbo.kryo.SerializationOptimizerImpl"/> <dubbo:provider server="netty" client="netty" cluster="failover" loadbalance="random" timeout="10000" retries="2"/>
日志错误信息: 2022-06-07 08:18:26,094 [DubboShutdownHook] INFO o.a.d.c.d.DefaultApplicationDeployer - [DUBBO] Dubbo Application1.1 has stopped., dubbo version: 3.0.8, current host: 192.168.100.181 2022-06-07 08:18:26,095 [Curator-Framework-0] INFO o.a.c.f.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting2022-06-07 08:18:26,118 [main-SendThread(192.168.100.249:2181)] WARN org.apache.zookeeper.ClientCnxn - An exception was thrown while closing send thread for session 0x100aaf0bf36014e. org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read additional data from server sessionid 0x100aaf0bf36014e, likely server has closed socket at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1282) 2022-06-07 08:18:26,220 [DubboShutdownHook] INFO org.apache.zookeeper.ZooKeeper - Session: 0x100aaf0bf36014e closed 2022-06-07 08:18:26,220 [main-EventThread] ERROR o.a.c.f.recipes.cache.NodeCache - java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED] at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823) at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:457) at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkExists(CuratorFrameworkImpl.java:484) at org.apache.curator.framework.recipes.cache.NodeCache.reset(NodeCache.java:261) at org.apache.curator.framework.recipes.cache.NodeCache.access$100(NodeCache.java:60) at org.apache.curator.framework.recipes.cache.NodeCache$2.process(NodeCache.java:104) at org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:77) at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:578) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:553) 2022-06-07 08:18:26,220 [DubboShutdownHook] INFO o.a.dubbo.rpc.model.FrameworkModel - [DUBBO] Destroying default framework model: Dubbo Framework[1], dubbo version: 3.0.8, current host: 192.168.100.181 2022-06-07 08:18:26,221 [main-EventThread] ERROR o.a.c.f.recipes.cache.NodeCache - java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED] at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823) at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:457) at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkExists(CuratorFrameworkImpl.java:484) at org.apache.curator.framework.recipes.cache.NodeCache.reset(NodeCache.java:261) at org.apache.curator.framework.recipes.cache.NodeCache.access$100(NodeCache.java:60) at org.apache.curator.framework.recipes.cache.NodeCache$2.process(NodeCache.java:104) at org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:77) at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:578) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:553) 2022-06-07 08:18:26,222 [DubboShutdownHook] INFO o.a.dubbo.rpc.model.FrameworkModel - [DUBBO] Dubbo Framework[1] is destroying ..., dubbo version: 3.0.8, current host: 192.168.100.181 2022-06-07 08:18:26,222 [main-EventThread] ERROR o.a.c.f.recipes.cache.NodeCache - java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED] at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823) at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:457) at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkExists(CuratorFrameworkImpl.java:484) at org.apache.curator.framework.recipes.cache.NodeCache.reset(NodeCache.java:261) at org.apache.curator.framework.recipes.cache.NodeCache.access$100(NodeCache.java:60) at org.apache.curator.framework.recipes.cache.NodeCache$2.process(NodeCache.java:104) at org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:77) at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:578) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:553) 2022-06-07 08:18:26,222 [DubboShutdownHook] INFO o.a.d.c.d.DefaultApplicationDeployer - [DUBBO] Dubbo Application1.0 is stopping., dubbo version: 3.0.8, current host: 192.168.100.181 2022-06-07 08:18:26,223 [main-EventThread] INFO org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x100aaf0bf36014e 2022-06-07 08:18:26,223 [DubboShutdownHook] INFO o.a.d.r.support.RegistryManager - [DUBBO] Close all registries [], dubbo version: 3.0.8, current host: 192.168.100.181 2022-06-07 08:18:26,223 [DubboShutdownHook] INFO o.a.d.c.deploy.DefaultModuleDeployer - [DUBBO] Dubbo Module[1.0.0] is stopping., dubbo version: 3.0.8, current host: 192.168.100.181 2022-06-07 08:18:26,224 [DubboShutdownHook] INFO o.a.d.c.deploy.DefaultModuleDeployer - [DUBBO] Dubbo Module[1.0.0] has stopped., dubbo version: 3.0.8, current host: 192.168.100.181 2022-06-07 08:18:26,224 [DubboShutdownHook] INFO o.a.d.c.t.m.DefaultExecutorRepository - [DUBBO] destroying application executor repository .., dubbo version: 3.0.8, current host: 192.168.100.181
原提问者GitHub用户GreatBareBear
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。