-Re: Question about preferred replica leader election tool
Jun Rao 2013-08-27, 15:31
Your understanding is correct. Try running the tool again when both
replicas are in ISR. If it still doesn't work, see if there is any error in
the state-change log.
On Tue, Aug 27, 2013 at 8:00 AM, Yu, Libo <[EMAIL PROTECTED]> wrote:
> We have three brokers in our kafka cluster. For all topics, the replica
> factor is two.
> Here is the distribution of leaders. After I ran the leader election tool,
> happened. In this list, the first broker in ISR is the leader. I assume
> after running
> the tool, the first broker is replicas should be elected to the leader.
> Any idea why
> this does not work? Thanks.
> topic: example.topic.one partition: 0 leader: 1 replicas:
> 2,1 isr: 1,2
> topic: example.topic.one partition: 1 leader: 2 replicas:
> 3,2 isr: 2,3
> topic: example.topic.one partition: 2 leader: 1 replicas:
> 1,3 isr: 1,3
> topic: example.topic.twopartition: 0 leader: 1 replicas: 3,1
> isr: 1,3
> topic: example.topic.twopartition: 1 leader: 1 replicas: 1,2
> isr: 1,2
> topic: example.topic.twopartition: 2 leader: 2 replicas: 2,3
> isr: 2,3