From dev-return-107575-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Tue Sep 17 08:17:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2BCC5180645 for ; Tue, 17 Sep 2019 10:17:04 +0200 (CEST) Received: (qmail 76201 invoked by uid 500); 17 Sep 2019 08:17:01 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 76079 invoked by uid 99); 17 Sep 2019 08:17:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2019 08:17:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EAB08E3141 for ; Tue, 17 Sep 2019 08:17:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 458777806CB for ; Tue, 17 Sep 2019 08:17:00 +0000 (UTC) Date: Tue, 17 Sep 2019 08:17:00 +0000 (UTC) From: "lingyi.zhong (Jira)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Created]_(KAF?= =?utf-8?Q?KA-8915)_=E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9partition?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 lingyi.zhong created KAFKA-8915: ----------------------------------- Summary: =E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9partition Key: KAFKA-8915 URL: https://issues.apache.org/jira/browse/KAFKA-8915 Project: Kafka Issue Type: Bug Reporter: lingyi.zhong [root@work1 kafka]# bin/kafka-topics.sh --create --zookeeper 10.20.30.77:21= 81 --replication-factor 1 --partitions 1=C2=A0 --topic test_topic3[root@wor= k1 kafka]# bin/kafka-topics.sh --create --zookeeper 10.20.30.77:2181 --repl= ication-factor 1 --partitions 1=C2=A0 --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, b= ut not both.Created topic "test_topic3".[root@work1 kafka]# bin/kafka-topic= s.sh=C2=A0 --alter --zookeeper 10.20.30.78:2181/chroot=C2=A0 --partition 2 = --topic test_topic3 Exception in thread "main" joptsimple.UnrecognizedOptionException: partitio= n is not a recognized option at joptsimple.OptionException.unrecognizedOpti= on(OptionException.java:108) at joptsimple.OptionParser.handleLongOptionTok= en(OptionParser.java:510) at joptsimple.OptionParserState$2.handleArgument(= OptionParserState.java:56) at joptsimple.OptionParser.parse(OptionParser.ja= va:396) at kafka.admin.TopicCommand$TopicCommandOptions.(TopicCommand= .scala:358) at kafka.admin.TopicCommand$.main(TopicCommand.scala:44) at kaf= ka.admin.TopicCommand.main(TopicCommand.scala) -- This message was sent by Atlassian Jira (v8.3.2#803003)