首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    zookeeper启动报错 ,无法加载主类_security与safe

    最近在本机电脑上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

    04
    领券