kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gwen Shapira <gshap...@cloudera.com>
Subject Re: Leader became -1 and no ISR for all topics/patitions
Date Thu, 04 Sep 2014 23:05:21 GMT
Was there any data loss?
On Sep 4, 2014 3:52 PM, "TianYi Zhu" <tzhu@pureprofile.com> wrote:

> No log in the recent 7 days.
>
> kafka-preferred-replica-election.sh won't work in this stage, as the IRS is
> null. I restarted the servers one by one then it's back to normal.
>
>
> On Fri, Sep 5, 2014 at 1:11 AM, Jun Rao <junrao@gmail.com> wrote:
>
> > Any error in the controller log?
> >
> > Thanks,
> >
> > Jun
> >
> >
> > On Tue, Sep 2, 2014 at 11:09 PM, TianYi Zhu <tzhu@pureprofile.com>
> wrote:
> >
> > > Hi all,
> > >
> > > I'm running kafka 0.8.1.1, and encountering a weird problem.
> > > All my partitions' leader became -1 some day, and the ISR became empty,
> > for
> > > example
> > >
> > > Topic:infinity  PartitionCount:12       ReplicationFactor:2
>  Configs:
> > >         Topic: infinity Partition: 0    Leader: -1      Replicas: 0,1
> > >  Isr:
> > >         Topic: infinity Partition: 1    Leader: -1      Replicas: 1,0
> > >  Isr:
> > >         Topic: infinity Partition: 2    Leader: -1      Replicas: 0,1
> > >  Isr:
> > >         Topic: infinity Partition: 3    Leader: -1      Replicas: 1,0
> > >  Isr:
> > >         Topic: infinity Partition: 4    Leader: -1      Replicas: 0,1
> > >  Isr:
> > >         Topic: infinity Partition: 5    Leader: -1      Replicas: 1,0
> > >  Isr:
> > >         Topic: infinity Partition: 6    Leader: -1      Replicas: 0,1
> > >  Isr:
> > >         Topic: infinity Partition: 7    Leader: -1      Replicas: 1,0
> > >  Isr:
> > >         Topic: infinity Partition: 8    Leader: -1      Replicas: 0,1
> > >  Isr:
> > >         Topic: infinity Partition: 9    Leader: -1      Replicas: 1,0
> > >  Isr:
> > >         Topic: infinity Partition: 10   Leader: -1      Replicas: 0,1
> > >  Isr:
> > >         Topic: infinity Partition: 11   Leader: -1      Replicas: 1,0
> > >  Isr:
> > >
> > > However, my high level producers and consumers are still working.
> > > Should I run kafka-preferred-replica-election.sh at this stage? Or
> > should I
> > > restart the server in the cluster one by one?
> > >
> > > There's no errors in the log file.
> > > --
> > > Thanks,
> > > TianYi ZHU
> > >
> >
>
>
>
> --
> Thanks,
> TianYi ZHU
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message