大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
最近在本机电脑上zookeeper集群,但是报错如下,哪位大佬知道怎么解决
2020-07-13 14:43:15,283 [myid:] – INFO [main:QuorumPeerConfig@173] – Reading configuration from: /home/yangaoyu/software/zookeeper-3.6.1/bin/…/conf/zoo.cfg
2020-07-13 14:43:15,316 [myid:] – INFO [main:QuorumPeerConfig@459] – clientPortAddress is 0.0.0.0:2181
2020-07-13 14:43:15,316 [myid:] – INFO [main:QuorumPeerConfig@463] – secureClientPort is not set
2020-07-13 14:43:15,316 [myid:] – INFO [main:QuorumPeerConfig@479] – observerMasterPort is not set
2020-07-13 14:43:15,316 [myid:] – INFO [main:QuorumPeerConfig@496] – metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider
2020-07-13 14:43:15,326 [myid:] – ERROR [main:QuorumPeerMain@98] – Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /home/yangaoyu/software/zookeeper-3.6.1/bin/…/conf/zoo.cfg
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:197)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:124)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:90)
Caused by: java.lang.IllegalArgumentException: myid file is missing
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.checkValidity(QuorumPeerConfig.java:810)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.setupQuorumPeerConfig(QuorumPeerConfig.java:681)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:506)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:193)
… 2 more
Invalid config, exiting abnormally
2020-07-13 14:43:15,328 [myid:] – INFO [main:ZKAuditProvider@42] – ZooKeeper audit is disabled.
2020-07-13 14:43:15,329 [myid:] – ERROR [main:ServiceUtils@42] – Exiting JVM with code 2
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/179219.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...