美文网首页
springboot dubbo KeeperException

springboot dubbo KeeperException

作者: endlesswork | 来源:发表于2021-12-05 22:42 被阅读0次

    项目中最近运行报了一个这样的错,报错信息大致如下

    WARN  org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient [CuratorZookeeperClient.java:103] []-  [DUBBO] ZNode /dubbo/dubboService/already exists, 
    since we will only try to recreate a node on a session expiration, this duplication might be caused by a delete delay from the zk server, 
    which means the old expired session may still holds this ZNode and the server just hasn't got time to do the deletion. 
    In this case, we can just try to delete and create again., dubbo version: 2.7.4.1, current host: 192.168.1.1
    org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for 
    
    

    因为我们的项目是springboot配置的,之前采用properties配置文件配置的dubbo,后面改成了xml形式,这样存在了2份dubbo的配置,starter dubbo并不会对这2种进行覆盖,删除掉其中一份配置就可以了。

    相关文章

      网友评论

          本文标题:springboot dubbo KeeperException

          本文链接:https://www.haomeiwen.com/subject/uaiwxrtx.html