kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huxihx (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-8915) Unable to modify partition
Date Fri, 20 Sep 2019 02:35:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-8915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

huxihx resolved KAFKA-8915.
---------------------------
    Resolution: Not A Problem

> Unable to modify partition
> --------------------------
>
>                 Key: KAFKA-8915
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8915
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: lingyi.zhong
>            Priority: Major
>
> [root@work1 kafka]# bin/kafka-topics.sh --create --zookeeper 10.20.30.77:2181 --replication-factor
1 --partitions 1  --topic test_topic3[root@work1 kafka]# bin/kafka-topics.sh --create --zookeeper
10.20.30.77:2181 --replication-factor 1 --partitions 1  --topic test_topic3
> WARNING: Due to limitations in metric names, topics with a period ('.') or underscore
('_') could collide. To avoid issues it is best to use either, but not both.Created topic
"test_topic3".[root@work1 kafka]# bin/kafka-topics.sh  --alter --zookeeper 10.20.30.78:2181/chroot 
--partition 2 --topic test_topic3
> Exception in thread "main" joptsimple.UnrecognizedOptionException: partition is not a
recognized option at joptsimple.OptionException.unrecognizedOption(OptionException.java:108)
at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510) at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56)
at joptsimple.OptionParser.parse(OptionParser.java:396) at kafka.admin.TopicCommand$TopicCommandOptions.<init>(TopicCommand.scala:358)
at kafka.admin.TopicCommand$.main(TopicCommand.scala:44) at kafka.admin.TopicCommand.main(TopicCommand.scala)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message