大家好,又见面了,我是你们的朋友全栈君。
最近在本机电脑上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
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/179219.html原文链接:https://javaforall.cn