It has three brokers
{"version":1,"partitions":[{"topic":"te_re","partitions":0,"replicas":[1546332950,1546332908]}]}
Thanks
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Friday, May 8, 2020 12:18 PM
To: [email protected]
Subject: Re: Change RF factor...
[**EXTERNAL EMAIL**]
How many broker you have on this cluster and what is content of --
increase-replication-factor.json
On 5/8/20, 12:16 PM, "Rajib Deb" <[email protected]> wrote:
[External]
Hi I have by mistake created a topic with replication factor of 1. I am
trying to increase the replication, but I get the below error. Can anyone
please let me know if I am doing anything wrong. The Topic is created with
single partition(te_re-0).
./kafka-reassign-partitions.sh --zookeeper xxxx:2181 --command-config
kafka.properties --reassignment-json-file increase-replication-factor.json
-execute
Partitions reassignment failed due to The proposed assignment contains
non-existent partitions: ListBuffer(test_results-0)
kafka.common.AdminCommandFailedException: The proposed assignment contains
non-existent partitions: ListBuffer(te_re-0)
at
kafka.admin.ReassignPartitionsCommand$.parseAndValidate(ReassignPartitionsCommand.scala:341)
at
kafka.admin.ReassignPartitionsCommand$.executeAssignment(ReassignPartitionsCommand.scala:209)
at
kafka.admin.ReassignPartitionsCommand$.executeAssignment(ReassignPartitionsCommand.scala:205)
at
kafka.admin.ReassignPartitionsCommand$.main(ReassignPartitionsCommand.scala:65)
at
kafka.admin.ReassignPartitionsCommand.main(ReassignPartitionsCommand.scala)
Thanks
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient(s), please reply to the sender and
destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email,
and/or any action taken in reliance on the contents of this e-mail is strictly
prohibited and may be unlawful. Where permitted by applicable law, this e-mail
and other e-mail communications sent to and from Cognizant e-mail addresses may
be monitored.
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient(s), please reply to the sender and
destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email,
and/or any action taken in reliance on the contents of this e-mail is strictly
prohibited and may be unlawful. Where permitted by applicable law, this e-mail
and other e-mail communications sent to and from Cognizant e-mail addresses may
be monitored.