don't know why the isr==null and i can't reappear
> it, all brokers are working,and add new topic succesfully.
> Thanks,
> Lax
>
>
> > Date: Tue, 8 Jul 2014 11:29:05 -0700
> > Subject: Re: How recover leader when broker restart
> > From: wangg...@gmail.
thank you Guozhang,;i don't know why the isr==null and i can't reappear it, all
brokers are working,and add new topic succesfully.
Thanks,
Lax
> Date: Tue, 8 Jul 2014 11:29:05 -0700
> Subject: Re: How recover leader when broker restart
> From: wangg...@gmail.com
> To:
i can recover the leader.
>
>
> Thanks,
> Lax
>
>
> > 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
use preferred tool can rebalance leadership,but if the isr are null then the
leader is only -1,how i can recover the leader.
Thanks,
Lax
> Date: Mon, 7 Jul 2014 08:06:16 -0700
> Subject: Re: How recover leader when broker restart
> From: wangg...@gmail.com
> To: users@kafk
You can use the preferred leader election tool to move the leadership.
https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools#Replicationtools-2.PreferredReplicaLeaderElectionTool
Guozhang
On Mon, Jul 7, 2014 at 7:56 AM, 鞠大升 wrote:
> you can use the preferred leader election tool
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
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 since it's the only one available, and then restart your brokers
2 and 3
But I can't really see why you want your leaders on broker 1...
i have 3 broker,when i restart a broker 1,then 1 can not as leader.i want to
know how i can recover broker 1 as a leader.
thanks,
lax