Re: topic's partition have no leader and isr

2014-07-09 Thread
I think @chenlax has encounter the same problem with me in users@kafka.apache.org with titile "How recover leader when broker restart". cc to users@kafka.apache.org. On Wed, Jul 9, 2014 at 3:10 PM, 鞠大升 wrote: > @Jun Rao, Kafka version: 0.8.1.1 > > @Guozhang Wang, I can not

Re: How recover leader when broker restart

2014-07-09 Thread
gt; > > Date: Mon, 7 Jul 2014 08:06:16 -0700 > > > > Subject: Re: How recover leader when broker restart > > > > From: wangg...@gmail.com > > > > To: users@kafka.apache.org > > > > > > > > You can use the preferred lead

Re: How recover leader when broker restart

2014-07-07 Thread
you can use the preferred leader election tool to reset leaders to preferred replicas. 2014年7月7日 PM10:37于 "François Langelier" 写道: > AFAIK, the simplest way will be to shutdown your 2 others brokers after you > restarted your broker 1, which will force your topics to have your broker 1 > as leader