Re: Questions on kafka leader selection

2013-06-19 Thread Jun Rao
We do have a tool ReassignPartitionsCommand that can move existing replicas to new brokers. It hasn't been thoroughly tested though. Thanks, Jun On Wed, Jun 19, 2013 at 9:41 PM, Yogesh Sangvikar < yogesh.sangvi...@gmail.com> wrote: > Hi Jun, > > Thanks for the reply. > > But this case arises o

Re: Questions on kafka leader selection

2013-06-19 Thread Yogesh Sangvikar
Hi Jun, Thanks for the reply. But this case arises one more questions that, If all the 3 down brokers are crashed and we have added some new brokers, is there any way to re-balance those replicas to make partition available? OR any tool to balance the number of replicas if any one of the ISR goes

Re: Questions on kafka leader selection

2013-06-19 Thread Jun Rao
If leader is -1, that indicates the partition is unavailable. Were replicas 4,2,3 all down at that time? If so, you need to start at least one of those brokers to make the partition available again. Thanks, Jun On Wed, Jun 19, 2013 at 5:05 AM, Yogesh Sangvikar < yogesh.sangvi...@gmail.com> wrot

Questions on kafka leader selection

2013-06-19 Thread Yogesh Sangvikar
Hi Team, Please help to understand following questing as we are planning to use kafka 0.8 in our production, 1. We found the 'leader: -1' state, when the leader selection will happen for such partitions? Does the partition data will be unavailable till that time? example: topic: test1partitio