You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Jacot (Jira)" <ji...@apache.org> on 2021/03/01 14:01:00 UTC
[jira] [Resolved] (KAFKA-12329) kafka-reassign-partitions command
should give a better error message when a topic does not exist
[ https://issues.apache.org/jira/browse/KAFKA-12329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jacot resolved KAFKA-12329.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
> kafka-reassign-partitions command should give a better error message when a topic does not exist
> ------------------------------------------------------------------------------------------------
>
> Key: KAFKA-12329
> URL: https://issues.apache.org/jira/browse/KAFKA-12329
> Project: Kafka
> Issue Type: Improvement
> Reporter: David Jacot
> Assignee: David Jacot
> Priority: Major
> Fix For: 3.0.0
>
>
> The `kafka-reassign-partitions` command spits out a generic when the reassignment contains a topic which does not exist:
> {noformat}
> $ ./bin/kafka-reassign-partitions.sh --bootstrap-server localhost:9092 --execute --reassignment-json-file reassignment.json
> Error: org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
> {noformat}
> When the reassignment contains multiple topic-partitions, this is quite annoying. It would be better if it could at least give the concerned topic-partition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)