[
https://issues.apache.org/jira/browse/KAFKA-18947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933639#comment-17933639
]
Chia-Ping Tsai commented on KAFKA-18947:
----------------------------------------
{code:java}
chia7712@chia7712-ubuntu:~/project/kafka$ ./bin/kafka-metadata-shell.sh
Unexpected error: You must specify either a raft manager or a snapshot file
reader.
java.lang.RuntimeException: You must specify either a raft manager or a
snapshot file reader.
at org.apache.kafka.shell.MetadataShell.run(MetadataShell.java:198)
at org.apache.kafka.shell.MetadataShell.main(MetadataShell.java:271)
{code}
the error message is unclear and out-of-date
> refactor MetadataShell
> ----------------------
>
> Key: KAFKA-18947
> URL: https://issues.apache.org/jira/browse/KAFKA-18947
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
>
> # the error message is out-of-date. we only support to use snapshot file for
> now
> # remove unused fields - for example raftManager
> # enhance the docs of snapshot file to help users input correct file path
--
This message was sent by Atlassian Jira
(v8.20.10#820010)