You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Harper Henn <ha...@datto.com> on 2019/04/01 20:47:29 UTC
Re: leader none, with only one replicat end no ISR
Hi Adrien,
What happens when you try running the preferred replica leader election
script? Does this restore leadership for those partitions you listed?
https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools#Replicationtools-1.PreferredReplicaLeaderElectionTool
Harper
On Sat, Mar 30, 2019 at 12:19 AM Adrien Ruffie <ad...@gmail.com> wrote:
> Hi all,
>
> I would like to know if nobody is able to answer about several questions
> that I asked for a few months, or if I was just banished from the mailing
> list ...
>
> thank a lot & best regards,
>
> Adrien
>
> ---------- Forwarded message ---------
> De : Adrien Ruffie <ad...@gmail.com>
> Date: jeu. 28 mars 2019 à 12:18
> Subject: leader none, with only one replicat end no ISR
> To: <us...@kafka.apache.org>
>
>
> Hello all,
>
> since yesterday several of my topics have the following description:
>
>
> ./kafka-topics.sh --zookeeper ctl1.edeal.online:2181 --describe | grep -P
> "none"
> !2032
> Topic: edeal_cell_dev Partition: 0 Leader: none Replicas: 5 Isr:
> Topic: edeal_number_dev Partition: 0 Leader: none Replicas: 8 Isr:
> Topic: edeal_timeup_dev Partition: 0 Leader: none Replicas: 8 Isr:
>
>
>
> Without leader, only one replicas and no isr ... I tried to delete it by
> --delete from kafka-topics.sh,
> but nothing change.
> After that I tried to do this:
>
> https://medium.com/@contactsunny/manually-delete-apache-kafka-topics-424c7e016ff3
>
> but any against ... the /brokers/topics/edeal_cell{number/timeup}_dev keep
> always, but without partition ...
>
> I'd run out of ideas ...
> could someone please help me?
>
> thank a lot.
>
> Adrian
>
Re: leader none, with only one replicat end no ISR
Posted by Vincent Maurin <vi...@gmail.com>.
Hello Adrien
Could you give more details about your topic configurations (how many
partitions, what is the replication factor ?)
Usually, partition operations are performed by a broker that has been
assigned as the "controller". You should be able to check the controller
broker id with this command
> echo "get /controller" | ./zookeeper-shell.sh ctl1.edeal.online:2181
Make sure the controller is alive and properly connected to the rest of the
cluster, and maybe take a look in the controller log. Also as suggested by
Harper, give a try to reassign the partitions
Best
On Mon, Apr 1, 2019 at 10:47 PM Harper Henn <ha...@datto.com> wrote:
> Hi Adrien,
>
> What happens when you try running the preferred replica leader election
> script? Does this restore leadership for those partitions you listed?
>
> https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools#Replicationtools-1.PreferredReplicaLeaderElectionTool
>
> Harper
>
> On Sat, Mar 30, 2019 at 12:19 AM Adrien Ruffie <ad...@gmail.com> wrote:
>
> > Hi all,
> >
> > I would like to know if nobody is able to answer about several questions
> > that I asked for a few months, or if I was just banished from the mailing
> > list ...
> >
> > thank a lot & best regards,
> >
> > Adrien
> >
> > ---------- Forwarded message ---------
> > De : Adrien Ruffie <ad...@gmail.com>
> > Date: jeu. 28 mars 2019 à 12:18
> > Subject: leader none, with only one replicat end no ISR
> > To: <us...@kafka.apache.org>
> >
> >
> > Hello all,
> >
> > since yesterday several of my topics have the following description:
> >
> >
> > ./kafka-topics.sh --zookeeper ctl1.edeal.online:2181 --describe | grep -P
> > "none"
> > !2032
> > Topic: edeal_cell_dev Partition: 0 Leader: none Replicas: 5 Isr:
> > Topic: edeal_number_dev Partition: 0 Leader: none Replicas: 8 Isr:
> > Topic: edeal_timeup_dev Partition: 0 Leader: none Replicas: 8 Isr:
> >
> >
> >
> > Without leader, only one replicas and no isr ... I tried to delete it by
> > --delete from kafka-topics.sh,
> > but nothing change.
> > After that I tried to do this:
> >
> >
> https://medium.com/@contactsunny/manually-delete-apache-kafka-topics-424c7e016ff3
> >
> > but any against ... the /brokers/topics/edeal_cell{number/timeup}_dev
> keep
> > always, but without partition ...
> >
> > I'd run out of ideas ...
> > could someone please help me?
> >
> > thank a lot.
> >
> > Adrian
> >
>