项目中采用dubbo远程调用框架,本地启动加载dubbo.xml配置文件时,zookeeper打印错误日志,如下:

ath:/dubbo/com.mk.base.api..UserLoginService/providers Error:
KeeperErrorCode = NodeExists for /dubbo/com.mk.base.api..UserLoginS
ervice/providers
2017-02-21 11:03:13,444 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x32 zxid:0x38984 txntype:-1 reqpath:n/a Error P
ath:/dubbo Error:KeeperErrorCode = NodeExists for /dubbo
2017-02-21 11:03:13,498 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x33 zxid:0x38985 txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.mk.base.api..UserLoginService Error:KeeperErro
rCode = NodeExists for /dubbo/com.mk.base.api..UserLoginServiceFaca
de
2017-02-21 11:03:13,555 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x34 zxid:0x38986 txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.mk.base.api..UserLoginService/configurators Er
ror:KeeperErrorCode = NodeExists for /dubbo/com.mk.base.api..UserLo
ginService/configurators
2017-02-21 11:03:13,649 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x37 zxid:0x38987 txntype:-1 reqpath:n/a Error P
ath:/dubbo Error:KeeperErrorCode = NodeExists for /dubbo
2017-02-21 11:03:13,698 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x38 zxid:0x38988 txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.mk.base.api..AppService Error:KeeperErrorCode
= NodeExists for /dubbo/com.mk.base.api..AppService
2017-02-21 11:03:13,753 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x39 zxid:0x38989 txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.mk.base.api..AppService/providers Error:Keeper
ErrorCode = NodeExists for /dubbo/com.mk.base.api..AppService
/providers
2017-02-21 11:03:13,865 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x3b zxid:0x3898b txntype:-1 reqpath:n/a Error P
ath:/dubbo Error:KeeperErrorCode = NodeExists for /dubbo
2017-02-21 11:03:13,921 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x3c zxid:0x3898c txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.mk.base.api..AppService Error:KeeperErrorCode
= NodeExists for /dubbo/com.mk.base.api..AppService
2017-02-21 11:03:13,977 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
5a5e9f4a350000 type:create cxid:0x3d zxid:0x3898d txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.mk.base.api..AppService/configurators Error:Ke
eperErrorCode = NodeExists for /dubbo/com.mk.base.api..AppServiceFa
cade/configurators

配置文件正确,提交代码前测试是正常的,提交代码后就报以上错误,查了半天都不知道什么原因,网上有相关问题,但都没有明确答案,后来浏览到一则国外技术贴,说明该错误日志是正常状况,于是不理会报错,直接启动工程,测试,没有异常.

分享经验,如果各位有相同问题,欢迎讨论!

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐