Re: reassign a topic partition which has no ISR and leader set to -1

2015-03-04 Thread todd
Shapira; users@kafka.apache.org Reply To: users@kafka.apache.org Subject: Re: reassign a topic partition which has no ISR and leader set to -1 Thanks Gwen for your info. I brought another kafka server up with assigned broker id of the failed leader and the reassignment went through. @kafka developers

Re: reassign a topic partition which has no ISR and leader set to -1

2015-03-03 Thread Virendra Pratap Singh
e.org" ; Virendra Pratap Singh Sent: Tuesday, March 3, 2015 4:29 PM Subject: Re: reassign a topic partition which has no ISR and leader set to -1 I hate bringing bad news, but... You can't really reassign replicas if the leader is not available. Since the leader is gone, the replica

Re: reassign a topic partition which has no ISR and leader set to -1

2015-03-03 Thread Gwen Shapira
I hate bringing bad news, but... You can't really reassign replicas if the leader is not available. Since the leader is gone, the replicas have no where to replicate the data from. Until you bring the leader back (or one of the replicas with unclean leader election), you basically lost this parti

reassign a topic partition which has no ISR and leader set to -1

2015-03-03 Thread Virendra Pratap Singh
Ran into a situation where both the leader and replica nodes for a few partitions of a given topic went down. So now these partitions have no in-sync replicas and neither any leader (leader set to -1). I tried to reassign these partitions to a different set of brokers using partition reassignmen