|> NotEnoughReplicasException: Number of  insync replicas for partition
__consumer_offsets-17 is [1], below required minimum [2]

Please refer to
https://stackoverflow.com/questions/37960767/how-to-change-the-replicas-of-kafka-topic.
Hope it helps!


On Aug 23, 2017 5:17 AM, "Murad Mamedov" <m...@muradm.net> wrote:

> Hi,
>
> Did you manage to find the root cause of this issue?
>
> Same thing happened here.
>
> Thanks in advance
>
> On Tue, Jun 13, 2017 at 7:50 PM, Paul van der Linden <p...@sportr.co.uk>
> wrote:
>
> > I managed to solve it by:
> > - stopping and deleting all data on kafka & zookeeper
> > - stopping all consumers and producers
> > - starting kafka & zookeeper, waiting till they are up
> > - start all consumers & producers,
> >
> > Is there a better way to do this, without data loss and halting
> everything?
> >
> > On Tue, Jun 13, 2017 at 4:28 PM, Paul van der Linden <p...@sportr.co.uk>
> > wrote:
> >
> > > A few lines of the logs:
> > >
> > > [2017-06-13 15:25:37,343] INFO [GroupCoordinator 0]: Stabilized group
> > > summarizer generation 701 (kafka.coordinator.GroupCoordinator)
> > > [2017-06-13 15:25:37,345] INFO [GroupCoordinator 0]: Assignment
> received
> > > from leader for group summarizer for generation 701 (kafka.coordinator.
> > > GroupCoordinator)
> > > [2017-06-13 15:25:37,345] ERROR [Replica Manager on Broker 0]: Error
> > > processing append operation on partition __consumer_offsets-17
> > > (kafka.server.ReplicaManager)
> > > org.apache.kafka.common.errors.NotEnoughReplicasException: Number of
> > > insync replicas for partition __consumer_offsets-17 is [1], below
> > required
> > > minimum [2]
> > > [2017-06-13 15:25:37,345] INFO [GroupCoordinator 0]: Preparing to
> > > restabilize group summarizer with old generation 701
> (kafka.coordinator.
> > > GroupCoordinator)
> > >
> > > This keeps happening, for all consumer offsets and all groups, etc
> > >
> > > On Tue, Jun 13, 2017 at 4:21 PM, Paul van der Linden <
> p...@sportr.co.uk>
> > > wrote:
> > >
> > >> Hi,
> > >>
> > >> I'm trying to find out how to at least get my kafka working again.
> > >> Something went wrong and kafka has halted to a throughput of 0
> > messages. It
> > >> keeps looping on stablizing consumer groups, and erroring on an append
> > >> operation to the offset paritions, plus Not enough replicas.
> > >>
> > >> The weird things is, that after not being able to work this out I want
> > >> pretty brutal (luckily I can afford to loose more messages):
> > >> - delete all kafka and zookeeper instances
> > >> - updated kafka
> > >> - cleared all disk
> > >>
> > >> Still kafka is in this unrecoverable error. Does anyone have any idea
> > how
> > >> to fix this?
> > >>
> > >
> > >
> >
>
>
>
> --
> Regards,
> *Murad M*
> *M (tr): +90 (533) 4874329*
> *E: m...@muradm.net <m...@muradm.net>*
>

Reply via email to