disconf-wab,部署成功后,发现zk下没有disconf信息

新手上路,请多包涵

查看disconf的日志,zk明明连接成功啊,为什么在zk下没信息呢,我用zkCli.sh登录。/disconf也是空。希望哪位大神可以帮帮看看,谢谢
(zk版本3.3.6跟pom文件版本相同)

zk配置

hosts=xx.:2181
zookeeper_url_prefix=/disconf

redis配置

redis.group1.retry.times=2
redis.group1.client1.name=BeidouRedis1
redis.group1.client1.host=127.0.0.1
redis.group1.client1.port=6379
redis.group1.client1.timeout=5000
redis.group1.client1.password=foobared

redis.group1.client2.name=BeidouRedis2
redis.group1.client2.host=127.0.0.1
redis.group1.client2.port=6380
redis.group1.client2.timeout=5000
redis.group1.client2.password=foobared
redis.evictor.delayCheckSeconds=300
redis.evictor.checkPeriodSeconds=30

disconf日志

2018-08-21 14:45:05,252 [localhost-startStop-1] INFO com.github.knightliao.apollo.redis.RedisClient - New Jedis pool <client: BeidouRedis1> <server: 127.0.0.1:6379> object created. Connection pool will be initiated when calling.
2018-08-21 14:45:05,306 [localhost-startStop-1] INFO com.github.knightliao.apollo.redis.RedisClient - New Jedis pool <client: BeidouRedis2> <server: 127.0.0.1:6380> object created. Connection pool will be initiated when calling.
2018-08-21 14:45:06,695 [localhost-startStop-1-EventThread] INFO com.baidu.disconf.core.common.zookeeper.inner.ConnectionWatcher - zk SyncConnected
2018-08-21 14:45:06,695 [localhost-startStop-1] INFO com.baidu.disconf.core.common.zookeeper.inner.ConnectionWatcher - zookeeper: xx:2181 , connected.
2018-08-21 14:45:06,695 [localhosxxt-startStop-1] INFO com.baidu.disconf.core.common.zookeeper.ZookeeperMgr - zoo prefix: /disconf
2018-08-21 14:45:07,195 [localhost-startStop-1] INFO com.baidu.dsp.common.listener.ContextListener - start to load ContextListener
2018-08-21 14:45:07,195 [localhost-startStop-1] INFO com.baidu.dsp.common.listener.ContextListener - end of ContextListener
cd76af6e-7df5-4d1d-843f-43dbd45791c5 2018-08-21 14:45:17,616 [proScheduler-1] INFO com.baidu.disconf.web.tasks.impl.ConfigConsistencyMonitorServiceImpl - monitor disconf_demo rd 1_0_0_0

3231d457-a7e4-49ab-b979-4e8abf296a19 2018-08-21 14:45:31,514 [http-bio-8080-exec-8] INFO com.baidu.dsp.common.interceptor.login.LoginInterceptor - /api/zoo/zkdeploy
3231d457-a7e4-49ab-b979-4e8abf296a19 2018-08-21 14:45:31,521 [http-bio-8080-exec-8] INFO com.baidu.disconf.web.service.roleres.service.RoleResourceAspect - Accessing URL:/api/zoo/zkdeploy/, method:GET, UserId:6, RoleId:2, Is priviledged:true
3231d457-a7e4-49ab-b979-4e8abf296a19 2018-08-21 14:45:31,528 [http-bio-8080-exec-8] INFO com.baidu.disconf.web.web.zookeeper.controller.ZooController - ZkDeployForm [appId=2, version=1_0_0_0, envId=1]
3231d457-a7e4-49ab-b979-4e8abf296a19 2018-08-21 14:45:31,539 [http-bio-8080-exec-8] ERROR com.baidu.disconf.web.innerapi.zookeeper.impl.ZookeeperDriverImpl - Group /disconf/disconf_demo_1_0_0_0_rd does not exist

zk客户端查看
[zk: localhost:2181(CONNECTED) 0] ls /disconf
[]
[zk: localhost:2181(CONNECTED) 1]

问题描述

问题出现的平台版本及自己尝试过哪些方法

相关代码

// 请把代码文本粘贴到下方(请勿用图片代替代码)

你期待的结果是什么?实际看到的错误信息又是什么?

阅读 2.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏