You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/11/14 15:41:02 UTC

[GitHub] [kafka] huldarchen opened a new pull request #9595: KAFKA-10724:Command to run single quorum in raft is missing "--config…

huldarchen opened a new pull request #9595:
URL: https://github.com/apache/kafka/pull/9595


   When I run "bin/test-raft-server-start.sh config/raft.properties", I get an error:
   [2020-11-14 23:00:38,742] ERROR Exiting Kafka due to fatal exception (kafka.tools.TestRaftServer$)
   org.apache.kafka.common.config.ConfigException: Missing required configuration "zookeeper.connect" which has no default value.
   at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:478)
   at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:468)
   at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:108)
   at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:142)
   at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1314)
   at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1317)
   at kafka.tools.TestRaftServer$.main(TestRaftServer.scala:607)
   at kafka.tools.TestRaftServer.main(TestRaftServer.scala)
   
    “ ./bin/test-raft-server-start.sh --config ./config/raft.properties” is work.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [] Verify documentation (including upgrade notes)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org